From ae47af50d6ff3a97110b77535f86f7a76d1631a9 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Tue, 27 Feb 2018 12:48:11 +1100 Subject: [PATCH] radeonsi/nir: disable vertex_id_zero_based lowering MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The lowering is incompatible with how the radeonsi backend works. Fixes piglit test: ./bin/arb_shader_draw_parameters-basevertex vertexid-zerobased -auto Reviewed-by: Samuel Pitoiset Reviewed-by: Marek Olšák --- 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 998ef8d268b..e9657602f37 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, -- 2.30.2