summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_fpc.h
diff options
context:
space:
mode:
authorStéphane Marchesin <marcheu@chromium.org>2011-06-26 05:01:24 -0700
committerStéphane Marchesin <marcheu@chromium.org>2011-06-27 02:05:58 -0700
commitd2f05283d2226f3285dccfc373ee9e314a8c95c8 (patch)
tree5d75b41085adee6ca120debe5273e67b0d7e077b /src/gallium/drivers/i915/i915_fpc.h
parent992680c8b46d72cbc61888b8439d815bff42986c (diff)
downloadexternal_mesa3d-d2f05283d2226f3285dccfc373ee9e314a8c95c8.zip
external_mesa3d-d2f05283d2226f3285dccfc373ee9e314a8c95c8.tar.gz
external_mesa3d-d2f05283d2226f3285dccfc373ee9e314a8c95c8.tar.bz2
i915g: Fix gl_FragCoord.
Diffstat (limited to 'src/gallium/drivers/i915/i915_fpc.h')
-rw-r--r--src/gallium/drivers/i915/i915_fpc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_fpc.h b/src/gallium/drivers/i915/i915_fpc.h
index 2f0f99d..8502dc0 100644
--- a/src/gallium/drivers/i915/i915_fpc.h
+++ b/src/gallium/drivers/i915/i915_fpc.h
@@ -37,6 +37,8 @@
#define I915_PROGRAM_SIZE 192
+/* Use that index for pos routing, must be >= I915_TEX_UNITS */
+#define I915_SEMANTIC_POS 10
/**
@@ -73,7 +75,6 @@ struct i915_fp_compile {
uint nr_decl_insn;
boolean error; /**< Set if i915_program_error() is called */
- uint wpos_tex;
uint NumNativeInstructions;
uint NumNativeAluInstructions;
uint NumNativeTexInstructions;