i965/fs: Use inst->eot rather than opcodes in register allocation.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 5 Feb 2015 05:11:56 +0000 (21:11 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 6 Feb 2015 04:01:02 +0000 (20:01 -0800)
commit32f1d4e2869fbbac28e9a289fd7a12ee4746071a
tree0f14008a25ae67cea37ac95a61baafa9db2e28c1
parent10d8a1a88ef2bf80d43e0d876873cf18603798c0
i965/fs: Use inst->eot rather than opcodes in register allocation.

Previously, we special cased FB writes and URB writes in the register
allocation code.  What we really wanted was to handle any message with
EOT set.

This saves us from extending the list with new opcodes in the future.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp