diff options
author | Timothy Arceri <[email protected]> | 2018-02-27 12:48:11 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-02-28 09:23:49 +1100 |
commit | ae47af50d6ff3a97110b77535f86f7a76d1631a9 (patch) | |
tree | b2a5981b1b74ca1e613591ba8c2f1432833ca41c | |
parent | 5504bebfc419f93b54ca92f36d27c2f8b82bc552 (diff) |
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 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_get.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, |