Mesa (master): i915g: Fix case where texcoords can overlap with fragpos/ frontface.

Stephane Marchesin marcheu at kemper.freedesktop.org
Thu Aug 25 22:57:12 PDT 2011


Module: Mesa
Branch: master
Commit: 3d9000393b0c2e53f35e5a093ea6781f849230d1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d9000393b0c2e53f35e5a093ea6781f849230d1

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Tue Aug 23 18:47:24 2011 -0700

i915g: Fix case where texcoords can overlap with fragpos/frontface.

---

 src/gallium/drivers/i915/i915_fpc.h |    6 +++---
 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 b760bc4..b2683c8 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
 
 
 /**



More information about the mesa-commit mailing list