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:
parent
202c8abae0
commit
587261a817
4 changed files with 113 additions and 0 deletions
|
|
@ -282,6 +282,7 @@ INSTANTIATE_TEST_SUITE_P(
|
|||
"terminate.vert",
|
||||
"negativeWorkGroupSize.comp",
|
||||
"textureoffset_sampler2darrayshadow.vert",
|
||||
"atomicAdd.comp",
|
||||
})),
|
||||
FileNameAsCustomTestSuffix
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue