diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/compiler/brw_fs_dead_code_eliminate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_fs_dead_code_eliminate.cpp b/src/intel/compiler/brw_fs_dead_code_eliminate.cpp index 38ae1d41a6a..f3d510d36d0 100644 --- a/src/intel/compiler/brw_fs_dead_code_eliminate.cpp +++ b/src/intel/compiler/brw_fs_dead_code_eliminate.cpp @@ -96,7 +96,8 @@ fs_visitor::dead_code_eliminate() if (!result_live && (can_omit_write(inst) || can_eliminate(inst, flag_live))) { - inst->dst = fs_reg(retype(brw_null_reg(), inst->dst.type)); + inst->dst = fs_reg(spread(retype(brw_null_reg(), inst->dst.type), + inst->dst.stride)); progress = true; } } |