[Mesa-dev] [PATCH] softpipe: fix stencil write to use an integer value
Roland Scheidegger
sroland at vmware.com
Wed Apr 22 06:29:31 PDT 2015
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Am 22.04.2015 um 09:41 schrieb Dave Airlie:
> From: Dave Airlie <airlied at redhat.com>
>
> This fixes a number of regressions since
> 61393bdcdc3b63624bf6e9730444f5e9deeedfc8
> u_tile: fix stencil texturing tests under softpipe
>
> should fix:
> https://bugs.freedesktop.org/show_bug.cgi?id=89960
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
> src/gallium/drivers/softpipe/sp_fs_exec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/softpipe/sp_fs_exec.c b/src/gallium/drivers/softpipe/sp_fs_exec.c
> index f3814fd..369ab6e 100644
> --- a/src/gallium/drivers/softpipe/sp_fs_exec.c
> +++ b/src/gallium/drivers/softpipe/sp_fs_exec.c
> @@ -164,7 +164,7 @@ exec_run( const struct sp_fragment_shader_variant *var,
> uint j;
>
> for (j = 0; j < 4; j++)
> - quad->output.stencil[j] = (unsigned)machine->Outputs[i].xyzw[1].f[j];
> + quad->output.stencil[j] = (unsigned)machine->Outputs[i].xyzw[1].u[j];
> }
> break;
> }
>
More information about the mesa-dev
mailing list