From 5d8e838dae0f2c94f8e5129c08aaa80eb6aabc81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 4 Jan 2015 21:05:14 +0100 Subject: [PATCH] radeonsi: do not define FACE as an ordinary PS input MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Michel Dänzer --- 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 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; -- 2.30.2