diff options
author | Matt Turner <[email protected]> | 2013-09-19 19:48:22 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-10-14 11:13:09 -0700 |
commit | a5ec01fb1bd4ad5418eb16cb05e6f6929d1444e8 (patch) | |
tree | af3874c651b231db3cd01506fbc124fee9cf40d2 /src/mesa/drivers/dri/i965/brw_vec4.cpp | |
parent | 53904c64da308bc5b5fd98c105fb86ec38cc33a3 (diff) |
i965: Don't copy prop source mods into instructions that can't take them.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp index 149a1a0e165..bfd01068aba 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp @@ -222,6 +222,9 @@ vec4_visitor::can_do_source_mods(vec4_instruction *inst) if (inst->is_send_from_grf()) return false; + if (!inst->can_do_source_mods()) + return false; + return true; } |