[Mesa-dev] [PATCH 11/13] radeonsi: do not define FACE as an ordinary PS input
Marek Olšák
maraeo at gmail.com
Sun Jan 4 15:18:50 PST 2015
From: Marek Olšák <marek.olsak at amd.com>
---
src/gallium/drivers/radeonsi/si_state_shaders.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c
index de12b4e..437dd95 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;
--
2.1.0
More information about the mesa-dev
mailing list