i965/fs: Remove one more fixed brw_null_reg() from the visitor.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 10 Jun 2015 11:40:33 +0000 (14:40 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 12 Jun 2015 08:17:25 +0000 (11:17 +0300)
commit8d3c48eed24f351c86361707978647c78010bb7f
tree29e9b8388741a868222ccfabacba50b5a9009c0b
parent16658f426dbd81fcbc317b21ae9a3f7c9b6448fb
i965/fs: Remove one more fixed brw_null_reg() from the visitor.

Instead use fs_builder::null_reg_f() which has the correct register
width.  Avoids the assertion failure in fs_builder::emit() hit by the
"ES3-CTS.shaders.loops.for_dynamic_iterations.unconditional_break_fragment"
GLES3 conformance test introduced by 4af4cfba9ee1014baa4a777660fc9d53d57e4c82.

Reported-and-reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp