summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Marchesin <marcheu@chromium.org>2011-08-23 18:47:24 -0700
committerStéphane Marchesin <marcheu@chromium.org>2011-08-25 22:57:48 -0700
commit3d9000393b0c2e53f35e5a093ea6781f849230d1 (patch)
tree0884dbfb7756428081fe974119968c736e65973f
parentb97889f543085f516fc1c821c621790399d57fa5 (diff)
i915g: Fix case where texcoords can overlap with fragpos/frontface.
-rw-r--r--src/gallium/drivers/i915/i915_fpc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/i915/i915_fpc.h b/src/gallium/drivers/i915/i915_fpc.h
index b760bc461a..b2683c8203 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
/**