SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2.
This commit is contained in:
parent
1c77f3a8d2
commit
55e7d11ce8
117 changed files with 6740 additions and 5997 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue