Spirv_intrinsics: Remove early return in layoutTypeCheck

Previously, when GL_EXT_spirv_intrinsics are enabled, we disable all
checks in layoutTypeCheck. This is too coarse because we can use nothing
in GL_EXT_spirv_intrinsics in a shader while the necessary processing is
skipped, such as addUsedLocation.

In this change, we apply fine check and more might be added if we
encounter new cases in the future.
This commit is contained in:
Rex Xu 2023-07-05 14:44:40 +08:00 committed by arcady-lunarg
parent 76b52ebf77
commit b70669a059
4 changed files with 19 additions and 4 deletions

View file

@ -757,6 +757,7 @@ INSTANTIATE_TEST_SUITE_P(
"vulkan.vert",
"vulkan.comp",
"samplerlessTextureFunctions.frag",
"spv.intrinsicsFakeEnable.vert",
"spv.specConstArrayCheck.vert",
})),
FileNameAsCustomTestSuffix