SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2.
This commit is contained in:
@@ -25,6 +25,12 @@ void main()
|
||||
shared int atomi;
|
||||
shared uint atomu;
|
||||
|
||||
layout (std140, binding = 0) restrict buffer dataSSB
|
||||
{
|
||||
float f;
|
||||
ivec4 n_frames_rendered;
|
||||
} result;
|
||||
|
||||
void atoms()
|
||||
{
|
||||
int origi = atomicAdd(atomi, 3);
|
||||
@@ -35,4 +41,5 @@ void atoms()
|
||||
origi = atomicMax(atomi, 7);
|
||||
origi = atomicExchange(atomi, origi);
|
||||
origu = atomicCompSwap(atomu, 10u, value);
|
||||
atomicAdd(result.n_frames_rendered.z, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user