Re: [Mesa-dev] [PATCH 1/2] prog_to_nir: Use a variable for uniform data

2015-05-23 Thread Jason Ekstrand
On Sat, May 23, 2015 at 11:47 AM, Kenneth Graunke wrote: > On Tuesday, May 19, 2015 05:28:17 PM Jason Ekstrand wrote: >> Previously, the prog_to_nir pass was directly generating uniform load/store >> intrinsics. This converts it to use a single giant "parameters" variable >> and we now depend on

Re: [Mesa-dev] [PATCH 1/2] prog_to_nir: Use a variable for uniform data

2015-05-23 Thread Kenneth Graunke
On Tuesday, May 19, 2015 05:28:17 PM Jason Ekstrand wrote: > Previously, the prog_to_nir pass was directly generating uniform load/store > intrinsics. This converts it to use a single giant "parameters" variable > and we now depend on lowering to get the uniform load/store intrinsics. > One advant

[Mesa-dev] [PATCH 1/2] prog_to_nir: Use a variable for uniform data

2015-05-19 Thread Jason Ekstrand
Previously, the prog_to_nir pass was directly generating uniform load/store intrinsics. This converts it to use a single giant "parameters" variable and we now depend on lowering to get the uniform load/store intrinsics. One advantage of this is that we now have one code-path after we do the initi