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

Author: Stéphane Marchesin <[email protected]>
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
 
 
 /**

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to