aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-02-24 12:03:37 -0800
committerMatt Turner <[email protected]>2015-02-24 14:08:04 -0800
commit2c7a703b05a84aff89cd908b2a84e04d1ce8aed8 (patch)
tree22b65e40e16f9d044859d346c7d580f81f11ad53 /src
parent467077b834eff4a38eb7a298826baddc44a298b8 (diff)
i965/fs: Emit MOV(1) instructions with force_writemask_all.
Fixes rendering with Dolphin. Tested-by: Markus Wick <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp1
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 {