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

2016-01-25 Thread Iago Toral
Reviewed-by: Iago Toral Quiroga On Sun, 2016-01-24 at 13:59 -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

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

2016-01-24 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. If the variable is accessed via an instance block, then 'varia