From: Marek Olšák Date: Sun, 4 Jan 2015 20:05:14 +0000 (+0100) Subject: radeonsi: do not define FACE as an ordinary PS input X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d8e838dae0f2c94f8e5129c08aaa80eb6aabc81;p=mesa.git radeonsi: do not define FACE as an ordinary PS input Reviewed-by: Michel Dänzer --- 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;