Re: [Mesa-dev] [PATCH 02/10] glsl: keep track of ssbo variable being accessed, add access params

2016-01-18 Thread Iago Toral
On Mon, 2016-01-18 at 00:51 -0500, Ilia Mirkin wrote: > Currently any access params (coherent/volatile/restrict) are being lost > when lowering to the ssbo load/store intrinsics. Keep track of the > variable being used, and bake its access params in as the last arg of > the load/store intrinsics.

[Mesa-dev] [PATCH 02/10] glsl: keep track of ssbo variable being accessed, add access params

2016-01-17 Thread Ilia Mirkin
Currently any access params (coherent/volatile/restrict) are being lost when lowering to the ssbo load/store intrinsics. Keep track of the variable being used, and bake its access params in as the last arg of the load/store intrinsics. Signed-off-by: Ilia Mirkin --- src/glsl/lower_ubo_reference.