Finish virtually all of the remaining atomic counter functionality. Still need offset collision detection.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27712 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
3dd035b68b
commit
265f5fb80e
16 changed files with 191 additions and 37 deletions
|
|
@ -139,3 +139,14 @@ void mainAC()
|
|||
}
|
||||
|
||||
layout(binding = 1) uniform mediump atomic_uint counterBad; // ERROR, not highp
|
||||
|
||||
layout(binding = 2, offset = 4) uniform atomic_uint countArr[4];
|
||||
uniform int i;
|
||||
|
||||
void opac()
|
||||
{
|
||||
int a[3];
|
||||
a[counter]; // ERROR
|
||||
countArr[2];
|
||||
countArr[i];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue