radeonsi: do not define FACE as an ordinary PS input
authorMarek Olšák <marek.olsak@amd.com>
Sun, 4 Jan 2015 20:05:14 +0000 (21:05 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 7 Jan 2015 11:06:43 +0000 (12:06 +0100)
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c

index de12b4eeb15aa64abc9e705f1aa7ec3d6ca1afae..437dd956e3b6b1c8fd8937f5a2b2f43238ac002b 100644 (file)
@@ -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;