SPV: Fix #1783: Don't do bounds checking for spec-const-expression size

It's okay for symbolic spec-consts, but without constant folding,
not okay when the array size is an expression.
This commit is contained in:
John Kessenich
2019-07-03 09:28:28 -06:00
parent 4b4b41a634
commit 96524f9168
5 changed files with 29 additions and 2 deletions

View File

@@ -545,6 +545,7 @@ INSTANTIATE_TEST_CASE_P(
"vulkan.vert",
"vulkan.comp",
"samplerlessTextureFunctions.frag",
"spv.specConstArrayCheck.vert",
})),
FileNameAsCustomTestSuffix
);