diff options
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp b/src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp index 6acd3fef95c..7ddb2537a33 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp @@ -270,6 +270,7 @@ fs_visitor::opt_combine_constants() struct imm *imm = &table.imm[i]; fs_inst *mov = MOV(reg, fs_reg(imm->val)); + mov->force_writemask_all = true; if (imm->inst) { imm->inst->insert_before(imm->block, mov); } else { |