i965/nir/vec4: Lower "vecN" instructions and mark them unreachable
authorAntia Puentes <apuentes@igalia.com>
Tue, 16 Jun 2015 20:58:15 +0000 (22:58 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:48 +0000 (09:40 -0700)
commite4f02f47e70d384531ac68e6d33a62fdcdbd1f28
tree99d5904960ae0bac47a1e5b9aadccc6f359698f1
parent79154d99d6e760b1daf327b4594dded18f1d4191
i965/nir/vec4: Lower "vecN" instructions and mark them unreachable

This enables NIR pass "lower_vec_to_movs" on shaders that work on vec4.

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