I sent this patch a few weeks ago.  Since my commit message has
additional information, can we use mine instead?

https://patchwork.freedesktop.org/patch/189441/

On 12/04/2017 12:12 PM, Antia Puentes wrote:
> From: Neil Roberts <nrobe...@igalia.com>
> 
> ---
>  src/mesa/drivers/dri/i965/brw_context.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_context.c 
> b/src/mesa/drivers/dri/i965/brw_context.c
> index b62852d90c8..249f62847b9 100644
> --- a/src/mesa/drivers/dri/i965/brw_context.c
> +++ b/src/mesa/drivers/dri/i965/brw_context.c
> @@ -585,7 +585,8 @@ brw_initialize_context_constants(struct brw_context *brw)
>        ctx->Const.QuadsFollowProvokingVertexConvention = false;
>  
>     ctx->Const.NativeIntegers = true;
> -   ctx->Const.VertexID_is_zero_based = true;
> +   /* This is lowered by NIR instead */
> +   ctx->Const.VertexID_is_zero_based = false;
>  
>     /* Regarding the CMP instruction, the Ivybridge PRM says:
>      *
> 

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to