summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_fs_cse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/compiler/brw_fs_cse.cpp')
-rw-r--r--src/intel/compiler/brw_fs_cse.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_fs_cse.cpp b/src/intel/compiler/brw_fs_cse.cpp
index bd917baaa6d..6efa111b1a4 100644
--- a/src/intel/compiler/brw_fs_cse.cpp
+++ b/src/intel/compiler/brw_fs_cse.cpp
@@ -216,6 +216,7 @@ create_copy_instr(const fs_builder &bld, fs_inst *inst, fs_reg src, bool negate)
src.offset += REG_SIZE;
}
for (int i = inst->header_size; i < inst->sources; i++) {
+ src.type = inst->src[i].type;
payload[i] = src;
src = offset(src, bld, 1);
}