From ff92345a19a2929a6c229c23be0771acf9728c78 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Thu, 7 May 2020 19:19:32 +0200 Subject: r600/sfn: Don't reject VARYING_SLOT_PCNT Signed-off-by: Gert Wollny Reviewed-by: Reviewed-by: Dave Airlie Part-of: --- src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp b/src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp index 1b215b471e3..182035c4be9 100644 --- a/src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp @@ -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 || -- cgit v1.2.3