projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
intel/eu: Split brw_inst ex_desc accessors for SEND(C) vs. SENDS(C).
[mesa.git]
/
src
/
intel
/
compiler
/
brw_fs_sel_peephole.cpp
diff --git
a/src/intel/compiler/brw_fs_sel_peephole.cpp
b/src/intel/compiler/brw_fs_sel_peephole.cpp
index fd02792bebcaddb1b301b2cf6496f688035f0791..6395b409b7c54713aff1d408b9938999b6703992 100644
(file)
--- a/
src/intel/compiler/brw_fs_sel_peephole.cpp
+++ b/
src/intel/compiler/brw_fs_sel_peephole.cpp
@@
-198,8
+198,7
@@
fs_visitor::opt_peephole_sel()
*/
fs_reg src0(then_mov[i]->src[0]);
if (src0.file == IMM) {
- src0 = vgrf(glsl_type::float_type);
- src0.type = then_mov[i]->src[0].type;
+ src0 = ibld.vgrf(then_mov[i]->src[0].type);
ibld.MOV(src0, then_mov[i]->src[0]);
}