r600/sfn: Fix handling of GS inputs

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4609>
This commit is contained in:
Gert Wollny 2020-04-12 16:47:31 +02:00 committed by Marge Bot
parent 58d6cda5f5
commit 67495ff9aa

View file

@ -83,8 +83,11 @@ bool GeometryShaderFromNir::do_process_inputs(nir_variable *input)
if (input->data.location == VARYING_SLOT_POS ||
input->data.location == VARYING_SLOT_PSIZ ||
input->data.location == VARYING_SLOT_CLIP_VERTEX ||
input->data.location == VARYING_SLOT_CLIP_DIST0 ||
input->data.location == VARYING_SLOT_CLIP_DIST1 ||
input->data.location == VARYING_SLOT_COL0 ||
input->data.location == VARYING_SLOT_COL1 ||
(input->data.location >= VARYING_SLOT_VAR0 &&
input->data.location <= VARYING_SLOT_VAR31) ||
(input->data.location >= VARYING_SLOT_TEX0 &&