Re: [Mesa-dev] [PATCH 30/36] glsl: Replace atomic_ssbo and ssbo_atomic with atomic

2015-11-16 Thread Iago Toral
Reviewed-by: Iago Toral Quiroga On Sat, 2015-11-14 at 13:44 -0800, Jordan Justen wrote: > The atomic functions can also be used with shared variables in compute > shaders. > > When lowering the intrinsic in lower_ubo_reference, we still create an > SSBO specific intrinsic since SSBO accesses can

[Mesa-dev] [PATCH 30/36] glsl: Replace atomic_ssbo and ssbo_atomic with atomic

2015-11-14 Thread Jordan Justen
The atomic functions can also be used with shared variables in compute shaders. When lowering the intrinsic in lower_ubo_reference, we still create an SSBO specific intrinsic since SSBO accesses can be indirectly addressed, whereas all compute shader shared variable live in a single shared variabl