Re: [Mesa-dev] [PATCH 02/10] i965: use nir_lower_indirect_derefs() for GLSL

2016-12-12 Thread Timothy Arceri
On Mon, 2016-12-12 at 01:20 -0800, Jason Ekstrand wrote: > On Mon, Dec 5, 2016 at 5:12 PM, Timothy Arceri ora.com> wrote: > > This moves the nir_lower_indirect_derefs() call into > > brw_preprocess_nir() so thats is called by both OpenGL and Vulkan > > and removes that

Re: [Mesa-dev] [PATCH 02/10] i965: use nir_lower_indirect_derefs() for GLSL

2016-12-12 Thread Jason Ekstrand
On Mon, Dec 5, 2016 at 5:12 PM, Timothy Arceri wrote: > This moves the nir_lower_indirect_derefs() call into > brw_preprocess_nir() so thats is called by both OpenGL and Vulkan > and removes that call to the old GLSL IR pass > lower_variable_index_to_cond_assign()

[Mesa-dev] [PATCH 02/10] i965: use nir_lower_indirect_derefs() for GLSL

2016-12-05 Thread Timothy Arceri
This moves the nir_lower_indirect_derefs() call into brw_preprocess_nir() so thats is called by both OpenGL and Vulkan and removes that call to the old GLSL IR pass lower_variable_index_to_cond_assign() We want to do this pass in nir to be able to move loop unrolling to nir. There is a increase