radeonsi/nir: disable vertex_id_zero_based lowering
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 27 Feb 2018 01:48:11 +0000 (12:48 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 27 Feb 2018 22:23:49 +0000 (09:23 +1100)
commitae47af50d6ff3a97110b77535f86f7a76d1631a9
treeb2a5981b1b74ca1e613591ba8c2f1432833ca41c
parent5504bebfc419f93b54ca92f36d27c2f8b82bc552
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 <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_get.c