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>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user