[Mesa-dev] [PATCH] i965: Fix Smooth Point Enables.

Jason Ekstrand jason at jlekstrand.net
Sun Nov 26 16:15:23 UTC 2017


Wow... Rb


On November 26, 2017 01:27:33 Kenneth Graunke <kenneth at whitecape.org> wrote:

> We want to program the 3DSTATE_RASTER field to the gl_context value,
> not the other way around.
>
> Fixes: 13ac46557ab1 (i965: Port Gen8+ 3DSTATE_RASTER state to genxml.)
> ---
>  src/mesa/drivers/dri/i965/genX_state_upload.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c 
> b/src/mesa/drivers/dri/i965/genX_state_upload.c
> index 112f48181b0..2808363e3ad 100644
> --- a/src/mesa/drivers/dri/i965/genX_state_upload.c
> +++ b/src/mesa/drivers/dri/i965/genX_state_upload.c
> @@ -4322,7 +4322,7 @@ genX(upload_raster)(struct brw_context *brw)
>           raster.CullMode = CULLMODE_NONE;
>        }
>
> -      point->SmoothFlag = raster.SmoothPointEnable;
> +      raster.SmoothPointEnable = point->SmoothFlag;
>
>        raster.DXMultisampleRasterizationEnable =
>           _mesa_is_multisample_enabled(ctx);
> --
> 2.15.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev




More information about the mesa-dev mailing list