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

2015-12-29 Thread Jason Ekstrand
On Tue, Dec 29, 2015 at 1:56 PM, Ilia Mirkin wrote: > On Tue, Dec 29, 2015 at 4:52 PM, Jason Ekstrand > wrote: > > > > > > On Tue, Dec 29, 2015 at 1:50 PM, Ilia Mirkin > wrote: > >> > >> On Tue, Dec 29, 2015 at 4:45 PM, Jason Ekstrand > >> wrote: > >> > > >> > > >> > On Mon, Dec 28, 2015 at 11

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

2015-12-29 Thread Ilia Mirkin
On Tue, Dec 29, 2015 at 4:52 PM, Jason Ekstrand wrote: > > > On Tue, Dec 29, 2015 at 1:50 PM, Ilia Mirkin wrote: >> >> On Tue, Dec 29, 2015 at 4:45 PM, Jason Ekstrand >> wrote: >> > >> > >> > On Mon, Dec 28, 2015 at 11:06 AM, Ilia Mirkin >> > wrote: >> >> >> >> Currently any access params (cohe

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

2015-12-29 Thread Jason Ekstrand
On Tue, Dec 29, 2015 at 1:50 PM, Ilia Mirkin wrote: > On Tue, Dec 29, 2015 at 4:45 PM, Jason Ekstrand > wrote: > > > > > > On Mon, Dec 28, 2015 at 11:06 AM, Ilia Mirkin > wrote: > >> > >> Currently any access params (coherent/volatile/restrict) are being lost > >> when lowering to the ssbo load

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

2015-12-29 Thread Ilia Mirkin
On Tue, Dec 29, 2015 at 4:45 PM, Jason Ekstrand wrote: > > > On Mon, Dec 28, 2015 at 11:06 AM, 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 it

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

2015-12-29 Thread Jason Ekstrand
On Mon, Dec 28, 2015 at 11:06 AM, 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] [RFC PATCH] glsl: keep track of ssbo variable being accessed, add access params

2015-12-28 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 --- This is RFC because there are