i965: Make can_do_source_mods() a member of the instruction classes.
authorMatt Turner <mattst88@gmail.com>
Tue, 24 Jun 2014 04:57:31 +0000 (21:57 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 25 Jun 2014 20:00:48 +0000 (13:00 -0700)
commit46659d46a8c2f7bbc8deb472faff2dccbde92d29
tree57c9746c14aeb92975babfb1e6f2d18e0ed50328
parentb4ef7c596b31675aea131870ba4c07aaad1f1525
i965: Make can_do_source_mods() a member of the instruction classes.

Pretty nonsensical to have it as a method of the visitor just for access
to brw.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp