Re: [Mesa-dev] [PATCH] nir: Use nir_shader_get_entrypoint in TCS quad workaround code.

2016-08-18 Thread Connor Abbott
On Thu, Aug 18, 2016 at 6:12 PM, Jason Ekstrand wrote: > On Aug 18, 2016 23:02, "Connor Abbott" wrote: >> >> On Thu, Aug 18, 2016 at 2:46 PM, Kenneth Graunke >> wrote: >> > We want to insert the code at the end of the program. Looping over >> > all the functions (of which there was only one) wa

Re: [Mesa-dev] [PATCH] nir: Use nir_shader_get_entrypoint in TCS quad workaround code.

2016-08-18 Thread Jason Ekstrand
On Aug 18, 2016 23:02, "Connor Abbott" wrote: > > On Thu, Aug 18, 2016 at 2:46 PM, Kenneth Graunke wrote: > > We want to insert the code at the end of the program. Looping over > > all the functions (of which there was only one) was the old way of doing > > this, but now we have nir_shader_get_e

Re: [Mesa-dev] [PATCH] nir: Use nir_shader_get_entrypoint in TCS quad workaround code.

2016-08-18 Thread Connor Abbott
On Thu, Aug 18, 2016 at 2:46 PM, Kenneth Graunke wrote: > We want to insert the code at the end of the program. Looping over > all the functions (of which there was only one) was the old way of doing > this, but now we have nir_shader_get_entrypoint(), so let's use it. > > Suggested by Connor Abb

Re: [Mesa-dev] [PATCH] nir: Use nir_shader_get_entrypoint in TCS quad workaround code.

2016-08-18 Thread Jason Ekstrand
Thanks. Rb On Aug 18, 2016 19:46, "Kenneth Graunke" wrote: > We want to insert the code at the end of the program. Looping over > all the functions (of which there was only one) was the old way of doing > this, but now we have nir_shader_get_entrypoint(), so let's use it. > > Suggested by Conn

[Mesa-dev] [PATCH] nir: Use nir_shader_get_entrypoint in TCS quad workaround code.

2016-08-18 Thread Kenneth Graunke
We want to insert the code at the end of the program. Looping over all the functions (of which there was only one) was the old way of doing this, but now we have nir_shader_get_entrypoint(), so let's use it. Suggested by Connor Abbott. Signed-off-by: Kenneth Graunke --- .../drivers/dri/i965/br