i965/nir: Disable alu_to_scalar pass on non-scalar shaders
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 25 Jun 2015 07:52:35 +0000 (09:52 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:48 +0000 (09:40 -0700)
commit9e5d827f455f3c72af6cb8d60b97890bab8d5ad0
tree85a0529c20e351ff6a0afd0041dfbf82716816aa
parentef1b30ae637e613b384541324c199d2dbe6b44bd
i965/nir: Disable alu_to_scalar pass on non-scalar shaders

Disables nir_lower_alu_to_scalar when the shader stage being processed work
on vec4 vectors, like the upcoming NIR->vec4 backend.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_nir.c