diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp index 5c52d3a148c..10a8310ff88 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp @@ -754,6 +754,7 @@ vec4_visitor::opt_compute_to_mrf() scan_inst->dst.file = MRF; scan_inst->dst.reg = mrf; scan_inst->dst.reg_offset = 0; + scan_inst->dst.writemask &= inst->dst.writemask; scan_inst->saturate |= inst->saturate; } scan_inst = (vec4_instruction *)scan_inst->next; |