i965/fs: Emit ADDs for gl_FragCoord, not virtual opcodes.
authorMatt Turner <mattst88@gmail.com>
Thu, 2 Apr 2015 23:15:53 +0000 (16:15 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 21 Apr 2015 16:24:48 +0000 (09:24 -0700)
commitfde3100fe65a175f034c77e7989601839c9983bb
tree64ce6edd25c7b9af90ad6f92da97353e57e8db70
parentb14313e45295d91b5737775ec788c76d8f0c2f93
i965/fs: Emit ADDs for gl_FragCoord, not virtual opcodes.

These were used only on Gen4 and 5. emit_interpolation_setup_gen6() emits
ADDs directly. The virtual opcodes weren't providing anything useful.

I'm going to repurpose these opcodes, so deleting and readding them makes
it simpler to see what's going on.

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