From 88dcfaf0ee24b6c858f13b684212951d3077856c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 22 Apr 2020 12:20:19 -0700 Subject: freedreno/ir3: Stop initializing regid of so->outputs during setup. It's unused and overwritten by ir3_compile_shader_nir(). Part-of: --- src/freedreno/ir3/ir3_compiler_nir.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/freedreno/ir3/ir3_compiler_nir.c b/src/freedreno/ir3/ir3_compiler_nir.c index 184595bf988..812ce7f9489 100644 --- a/src/freedreno/ir3/ir3_compiler_nir.c +++ b/src/freedreno/ir3/ir3_compiler_nir.c @@ -3195,7 +3195,6 @@ setup_output(struct ir3_context *ctx, nir_variable *out) compile_assert(ctx, n < ARRAY_SIZE(so->outputs)); so->outputs[n].slot = slot; - so->outputs[n].regid = regid(n, 0); so->outputs_count = MAX2(so->outputs_count, n + 1); for (int i = 0; i < ncomp; i++) { -- cgit v1.2.3