From: Gert Wollny Date: Thu, 7 May 2020 17:19:32 +0000 (+0200) Subject: r600/sfn: Don't reject VARYING_SLOT_PCNT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff92345a19a2929a6c229c23be0771acf9728c78;p=mesa.git r600/sfn: Don't reject VARYING_SLOT_PCNT Signed-off-by: Gert Wollny Reviewed-by: Reviewed-by: Dave Airlie Part-of: --- 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 ||