Mesa (master): i965/fs: Emit MOV(1) instructions with force_writemask_all.
Matt Turner
mattst88 at kemper.freedesktop.org
Tue Feb 24 22:08:15 UTC 2015
Module: Mesa
Branch: master
Commit: 2c7a703b05a84aff89cd908b2a84e04d1ce8aed8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c7a703b05a84aff89cd908b2a84e04d1ce8aed8
Author: Matt Turner <mattst88 at gmail.com>
Date: Tue Feb 24 12:03:37 2015 -0800
i965/fs: Emit MOV(1) instructions with force_writemask_all.
Fixes rendering with Dolphin.
Tested-by: Markus Wick <markus at selfnet.de>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
---
src/mesa/drivers/dri/i965/brw_fs_combine_constants.cpp | 1 +
1 file changed, 1 insertion(+)
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 6acd3fe..7ddb253 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 {
More information about the mesa-commit
mailing list