Fix seg fault

Check types before accessing typeName.

Fix #2848.
This commit is contained in:
Jeremy Hayes
2021-12-28 15:17:39 -07:00
parent ca13951205
commit 46466be045
5 changed files with 78 additions and 3 deletions

View File

@@ -233,6 +233,7 @@ INSTANTIATE_TEST_SUITE_P(
"precise_struct_block.vert",
"maxClipDistances.vert",
"findFunction.frag",
"noMatchingFunction.frag",
"constantUnaryConversion.comp",
"xfbUnsizedArray.error.vert",
"glsl.140.layoutOffset.error.vert",