diff options
author | Eric Anholt <[email protected]> | 2020-04-22 12:20:19 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-01 16:26:32 +0000 |
commit | 88dcfaf0ee24b6c858f13b684212951d3077856c (patch) | |
tree | ed844c2daeb2fb939f453d4201a629ef977d1f3f | |
parent | 8c1c21890969ce0f6e0df28522f04cdcd7dd482f (diff) |
freedreno/ir3: Stop initializing regid of so->outputs during setup.
It's unused and overwritten by ir3_compile_shader_nir().
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4562>
-rw-r--r-- | src/freedreno/ir3/ir3_compiler_nir.c | 1 |
1 files changed, 0 insertions, 1 deletions
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++) { |