From: Timothy Arceri Date: Tue, 27 Feb 2018 01:48:11 +0000 (+1100) Subject: radeonsi/nir: disable vertex_id_zero_based lowering X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae47af50d6ff3a97110b77535f86f7a76d1631a9;p=mesa.git radeonsi/nir: disable vertex_id_zero_based lowering 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 --- 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,