Atomic memory function can only be used for shader storage block member or shared variable.

The glsl spec says:A shader will fail to compile if the value passed to the mem argument of an atomic memory function does not
correspond to a buffer or shared variable.
This commit is contained in:
ZhiqianXia 2021-05-12 20:07:52 +08:00
parent 202c8abae0
commit 587261a817
4 changed files with 113 additions and 0 deletions

View file

@ -282,6 +282,7 @@ INSTANTIATE_TEST_SUITE_P(
"terminate.vert",
"negativeWorkGroupSize.comp",
"textureoffset_sampler2darrayshadow.vert",
"atomicAdd.comp",
})),
FileNameAsCustomTestSuffix
);