From b772499a09f578ff7c73aec9b3cdb3330ef6ce8e Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 25 May 2023 15:39:50 -0400 Subject: [PATCH] zink: don't propagate psiz in quads emulation gs this is pointless haha. cc: mesa-stable Part-of: --- src/gallium/drivers/zink/zink_compiler.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_compiler.c b/src/gallium/drivers/zink/zink_compiler.c index 32fee0b..ce1f70f 100644 --- a/src/gallium/drivers/zink/zink_compiler.c +++ b/src/gallium/drivers/zink/zink_compiler.c @@ -1241,7 +1241,9 @@ zink_create_quads_emulation_gs(const nir_shader_compiler_options *options, /* input vars can't be created for those */ if (var->data.location == VARYING_SLOT_LAYER || - var->data.location == VARYING_SLOT_VIEW_INDEX) + var->data.location == VARYING_SLOT_VIEW_INDEX || + /* psiz not needed for quads */ + var->data.location == VARYING_SLOT_PSIZ) continue; char name[100]; -- 2.7.4