[Mesa-dev] [PATCH 2/2] radeonsi/nir: disable vertex_id_zero_based lowering

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue Feb 27 09:32:35 UTC 2018



On 02/27/2018 03:10 AM, Timothy Arceri wrote:
> The lowering is incompatable with how the radeonsi backend works.

incompatible

For the series:

Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

> 
> Fixes piglit test:
> ./bin/arb_shader_draw_parameters-basevertex vertexid-zerobased -auto
> ---
>   src/gallium/drivers/radeonsi/si_get.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c
> index 998ef8d268..e9657602f3 100644
> --- a/src/gallium/drivers/radeonsi/si_get.c
> +++ b/src/gallium/drivers/radeonsi/si_get.c
> @@ -492,7 +492,6 @@ static int si_get_shader_param(struct pipe_screen* pscreen,
>   }
>   
>   static const struct nir_shader_compiler_options nir_options = {
> -	.vertex_id_zero_based = true,
>   	.lower_scmp = true,
>   	.lower_flrp32 = true,
>   	.lower_flrp64 = true,
> 


More information about the mesa-dev mailing list