r600/sfn: Take FOGC, and backcolors into account im GS outputs

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5085>
This commit is contained in:
Gert Wollny 2020-05-07 00:01:48 +02:00 committed by Marge Bot
parent d777c04095
commit 70b84920be

View file

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