summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-01-04 21:05:14 +0100
committerMarek Olšák <[email protected]>2015-01-07 12:06:43 +0100
commit5d8e838dae0f2c94f8e5129c08aaa80eb6aabc81 (patch)
treeb7810fb523dce0962e38ebb2010a2642db9c382e
parent15a7fff69a644856945f461e4b2c62c3a13872fb (diff)
radeonsi: do not define FACE as an ordinary PS input
Reviewed-by: Michel Dänzer <[email protected]>
-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;