r600/sfn: Don't reject VARYING_SLOT_PCNT
authorGert Wollny <gert.wollny@collabora.com>
Thu, 7 May 2020 17:19:32 +0000 (19:19 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 May 2020 07:52:13 +0000 (07:52 +0000)
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>

src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp

index 1b215b471e3b4edfd7b184b75e1878d07aedda7c..182035c4be9a7c472be86a1eb03182caaa102e65 100644 (file)
@@ -89,6 +89,7 @@ bool GeometryShaderFromNir::do_process_inputs(nir_variable *input)
        input->data.location == VARYING_SLOT_COL1 ||
        input->data.location == VARYING_SLOT_BFC0 ||
        input->data.location == VARYING_SLOT_BFC1 ||
+       input->data.location == VARYING_SLOT_PNTC ||
        (input->data.location >= VARYING_SLOT_VAR0 &&
        input->data.location <= VARYING_SLOT_VAR31) ||
        (input->data.location >= VARYING_SLOT_TEX0 &&
@@ -118,6 +119,7 @@ bool GeometryShaderFromNir::do_process_outputs(nir_variable *output)
        output->data.location <= VARYING_SLOT_TEX7) ||
        output->data.location == VARYING_SLOT_BFC0 ||
        output->data.location == VARYING_SLOT_BFC1 ||
+       output->data.location == VARYING_SLOT_PNTC ||
        output->data.location == VARYING_SLOT_CLIP_VERTEX ||
        output->data.location == VARYING_SLOT_CLIP_DIST0 ||
        output->data.location == VARYING_SLOT_CLIP_DIST1 ||