i965/vec4: don't propagate single-precision uniforms into 4-wide instructions
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 13 Jul 2016 07:11:35 +0000 (09:11 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:51 +0000 (11:26 +0100)
commit93eae0d2a4157963638130b7ea2ad656f366e372
tree59f83b4b8064077ccf59eb7bdadb56d6c3589a69
parent6637312847527783eff9e315362ccd8cc87f595d
i965/vec4: don't propagate single-precision uniforms into 4-wide instructions

Otherwise we end up producing code that violates the register region
restriction that says that when execsize == width and hstride != 0
the vstride can't be 0.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp