i965/fs: Make the default builder 64-wide before entering the optimization loop.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 27 Jul 2015 15:51:01 +0000 (18:51 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Jul 2015 16:30:11 +0000 (19:30 +0300)
commit02425d3ec2af6945a03583cadcaa5f3f330bbc0e
tree2f627b62250b07c2b994d60bedbac0bb80285326
parent4529916dfd227af6c4e151f45261db22157fe45f
i965/fs: Make the default builder 64-wide before entering the optimization loop.

Not a typo.  Replace the default builder with one of bogus width to
catch cases in which optimization passes assume that the default
dispatch width is good enough.  The execution controls of instructions
emitted during optimization should in general match the original code
that is being manipulated.  Many of the problems fixed in this series
were caught by the assertions introduced in this patch.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_builder.h