summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/radeonsi/si_state_shaders.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c
index de12b4eeb15..437dd956e3b 100644
--- a/src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
@@ -623,7 +623,8 @@ static void si_update_spi_map(struct si_context *sctx)
unsigned interpolate = psinfo->input_interpolate[i];
unsigned param_offset = ps->ps_input_param_offset[i];
- if (name == TGSI_SEMANTIC_POSITION)
+ if (name == TGSI_SEMANTIC_POSITION ||
+ name == TGSI_SEMANTIC_FACE)
/* Read from preloaded VGPRs, not parameters */
continue;