[Mesa-dev] [PATCH 1/2] i965/fs: Emit MOV(1) instructions with force_writemask_all.

Markus Wick markus at selfnet.de
Tue Feb 24 13:24:07 PST 2015


Am 2015-02-24 21:26, schrieb Matt Turner:
> Fixes rendering with Dolphin.
> ---
>  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 {

Tested-by: Markus Wick <markus at selfnet.de>


More information about the mesa-dev mailing list