Re: [Mesa-dev] [PATCH 10/12] nir: Store num_direct_uniforms in the nir_shader.

2015-04-09 Thread Jason Ekstrand
On Wed, Apr 8, 2015 at 12:48 PM, Ian Romanick wrote: > On 04/08/2015 12:06 AM, Kenneth Graunke wrote: >> Storing this here is pretty sketchy - I don't know if any driver other >> than i965 will want to use it. But this will make it a lot easier to >> generate NIR code at link time. We'll probabl

Re: [Mesa-dev] [PATCH 10/12] nir: Store num_direct_uniforms in the nir_shader.

2015-04-08 Thread Ian Romanick
On 04/08/2015 12:06 AM, Kenneth Graunke wrote: > Storing this here is pretty sketchy - I don't know if any driver other > than i965 will want to use it. But this will make it a lot easier to > generate NIR code at link time. We'll probably rework it anyway. > > Signed-off-by: Kenneth Graunke >

Re: [Mesa-dev] [PATCH 10/12] nir: Store num_direct_uniforms in the nir_shader.

2015-04-08 Thread Jason Ekstrand
On Wed, Apr 8, 2015 at 12:06 AM, Kenneth Graunke wrote: > Storing this here is pretty sketchy - I don't know if any driver other > than i965 will want to use it. But this will make it a lot easier to > generate NIR code at link time. We'll probably rework it anyway. Yeah, it's sketchy but, hone

[Mesa-dev] [PATCH 10/12] nir: Store num_direct_uniforms in the nir_shader.

2015-04-08 Thread Kenneth Graunke
Storing this here is pretty sketchy - I don't know if any driver other than i965 will want to use it. But this will make it a lot easier to generate NIR code at link time. We'll probably rework it anyway. Signed-off-by: Kenneth Graunke --- src/glsl/nir/nir.h | 3 +++ src/