diff options
author | Matt Turner <[email protected]> | 2017-03-23 12:12:18 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-03-27 10:59:42 -0700 |
commit | 7dccd38b400d3a65da20ddefe282a7bb0b7ccb58 (patch) | |
tree | bc4c9f0430d77c51b555cf77e7cbf854e8262b4e /src/intel/compiler/brw_fs_sel_peephole.cpp | |
parent | 004468de14170dc7a22322301829ad4f59188ee5 (diff) |
i965/fs: Don't emit SEL instructions for type-converting MOVs.
SEL can only convert between a few integer types, which we basically
never do.
Fixes fs/vs-double-uniform-array-direct-indirect-non-uniform-control-flow
Cc: [email protected]
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Acked-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs_sel_peephole.cpp')
-rw-r--r-- | src/intel/compiler/brw_fs_sel_peephole.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_fs_sel_peephole.cpp b/src/intel/compiler/brw_fs_sel_peephole.cpp index 8cd897f72e0..4c1c1607978 100644 --- a/src/intel/compiler/brw_fs_sel_peephole.cpp +++ b/src/intel/compiler/brw_fs_sel_peephole.cpp @@ -165,6 +165,8 @@ fs_visitor::opt_peephole_sel() then_mov[i]->exec_size != else_mov[i]->exec_size || then_mov[i]->group != else_mov[i]->group || then_mov[i]->force_writemask_all != else_mov[i]->force_writemask_all || + then_mov[i]->dst.type != then_mov[i]->src[0].type || + else_mov[i]->dst.type != else_mov[i]->src[0].type || then_mov[i]->is_partial_write() || else_mov[i]->is_partial_write() || then_mov[i]->conditional_mod != BRW_CONDITIONAL_NONE || |