From: Stéphane Marchesin Date: Wed, 24 Aug 2011 01:47:24 +0000 (-0700) Subject: i915g: Fix case where texcoords can overlap with fragpos/frontface. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d9000393b0c2e53f35e5a093ea6781f849230d1;p=mesa.git i915g: Fix case where texcoords can overlap with fragpos/frontface. --- diff --git a/src/gallium/drivers/i915/i915_fpc.h b/src/gallium/drivers/i915/i915_fpc.h index b760bc461a1..b2683c82033 100644 --- a/src/gallium/drivers/i915/i915_fpc.h +++ b/src/gallium/drivers/i915/i915_fpc.h @@ -39,9 +39,9 @@ #define I915_PROGRAM_SIZE 192 -/* Use those indices for pos/face routing, must be >= I915_TEX_UNITS */ -#define I915_SEMANTIC_POS 10 -#define I915_SEMANTIC_FACE 11 +/* Use those indices for pos/face routing, must be >= num of inputs */ +#define I915_SEMANTIC_POS 100 +#define I915_SEMANTIC_FACE 101 /**