zink: don't propagate psiz in quads emulation gs

this is pointless

haha.

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23240>
(cherry picked from commit b772499a09)
This commit is contained in:
Mike Blumenkrantz 2023-05-25 15:39:50 -04:00 committed by Eric Engestrom
parent 979ed4f722
commit 333620d55a
2 changed files with 4 additions and 2 deletions

View file

@ -2488,7 +2488,7 @@
"description": "zink: don't propagate psiz in quads emulation gs",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

View file

@ -1243,7 +1243,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];