Fix segfault with atomic arg check

Makes sure that we have an l-value before checking the storage type of
the mem argument passed to an atomic memory operation.

Fixes #3332.
This commit is contained in:
Nathaniel Cesario 2023-09-15 12:14:19 -06:00 committed by arcady-lunarg
parent 323836e46b
commit efc33d1ee5
5 changed files with 30 additions and 6 deletions

View file

@ -529,6 +529,7 @@ INSTANTIATE_TEST_SUITE_P(
"spv.ext.texture_shadow_lod.frag",
"spv.ext.texture_shadow_lod.error.frag",
"spv.floatFetch.frag",
"spv.atomicRvalue.error.vert",
})),
FileNameAsCustomTestSuffix
);