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

Francisco Jerez currojerez at riseup.net
Tue Feb 24 12:46:35 PST 2015


Matt Turner <mattst88 at gmail.com> writes:

> 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 {
> -- 
> 2.0.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Heh, this bit me today, I was about to send you the exact same patch :),
the series is:

Reviewed-by: Francisco Jerez <currojerez at riseup.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150224/efe9762e/attachment.sig>


More information about the mesa-dev mailing list