From 918cb236934b99ffc193b409d167c4e7cfb86a09 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 25 Nov 2020 12:43:46 +0100 Subject: [PATCH] zink: do not reserve or pack fragment outputs These are completely unrelated to other shader IO variables, so they don't need this logic. Reviewed-By: Mike Blumenkrantz Part-of: --- src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c index 4fdab7bb494..8e1acff3c20 100644 --- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c +++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c @@ -472,7 +472,6 @@ emit_output(struct ntv_context *ctx, struct nir_variable *var) break; default: - slot = handle_slot(ctx, slot); spirv_builder_emit_location(&ctx->builder, var_id, slot); spirv_builder_emit_index(&ctx->builder, var_id, var->data.index); }