From: Matt Turner Date: Tue, 24 Feb 2015 20:03:37 +0000 (-0800) Subject: i965/fs: Emit MOV(1) instructions with force_writemask_all. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c7a703b05a84aff89cd908b2a84e04d1ce8aed8;p=mesa.git i965/fs: Emit MOV(1) instructions with force_writemask_all. Fixes rendering with Dolphin. Tested-by: Markus Wick Reviewed-by: Francisco Jerez --- 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 {