Re: [Mesa-dev] [PATCH V2] i965: delay adding built-in uniforms to Parameters list

2016-12-08 Thread Kenneth Graunke
On Tuesday, December 6, 2016 5:34:02 PM PST Timothy Arceri wrote: > This is a step towards using NIR optimisations over GLSL IR > optimisations. Delaying adding built-in uniforms until after > we convert to NIR gives it a chance to optimise them away. > > V2: move the new code back to brw_link_sha

[Mesa-dev] [PATCH V2] i965: delay adding built-in uniforms to Parameters list

2016-12-05 Thread Timothy Arceri
This is a step towards using NIR optimisations over GLSL IR optimisations. Delaying adding built-in uniforms until after we convert to NIR gives it a chance to optimise them away. V2: move the new code back to brw_link_shader() --- src/mesa/drivers/dri/i965/brw_link.cpp | 42 +++--