i915g: Fix case where texcoords can overlap with fragpos/frontface.
authorStéphane Marchesin <marcheu@chromium.org>
Wed, 24 Aug 2011 01:47:24 +0000 (18:47 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Fri, 26 Aug 2011 05:57:48 +0000 (22:57 -0700)
src/gallium/drivers/i915/i915_fpc.h

index b760bc461a1d8f24e708c77a1c0953001165ee92..b2683c820336a1f2a567686c13528d227a5dc53e 100644 (file)
@@ -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
 
 
 /**