aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2020-05-07 19:19:32 +0200
committerMarge Bot <[email protected]>2020-05-19 07:52:13 +0000
commitff92345a19a2929a6c229c23be0771acf9728c78 (patch)
treefb9fb8229417ffaa8c5c000b8854f9ed6e9579d8 /src/gallium/drivers
parent15d6d354207adea208377edbafe9ca8180a9e406 (diff)
r600/sfn: Don't reject VARYING_SLOT_PCNT
Signed-off-by: Gert Wollny <[email protected]> Reviewed-by: Reviewed-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5085>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/sfn/sfn_shader_geometry.cpp2
1 files changed, 2 insertions, 0 deletions
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 ||