summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_fpc.h
diff options
context:
space:
mode:
authorStéphane Marchesin <marcheu@chromium.org>2011-09-22 19:24:07 -0700
committerStéphane Marchesin <marcheu@chromium.org>2011-09-22 19:26:33 -0700
commite3c94fac4eb159f8c35798d1ad7515a40f5a2eca (patch)
treee330a298fae61b1dbb39f403394c372d42f5b204 /src/gallium/drivers/i915/i915_fpc.h
parent79a0499369470a2a9b2cb5cfc83b1790283f4556 (diff)
downloadexternal_mesa3d-e3c94fac4eb159f8c35798d1ad7515a40f5a2eca.zip
external_mesa3d-e3c94fac4eb159f8c35798d1ad7515a40f5a2eca.tar.gz
external_mesa3d-e3c94fac4eb159f8c35798d1ad7515a40f5a2eca.tar.bz2
i915g: Don't generate useless swizzles before texture accesses.
That helps reduce the number of texture indirections, which are very limited on i915.
Diffstat (limited to 'src/gallium/drivers/i915/i915_fpc.h')
-rw-r--r--src/gallium/drivers/i915/i915_fpc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_fpc.h b/src/gallium/drivers/i915/i915_fpc.h
index 41bf516..26cf2fb 100644
--- a/src/gallium/drivers/i915/i915_fpc.h
+++ b/src/gallium/drivers/i915/i915_fpc.h
@@ -169,7 +169,10 @@ extern void i915_release_utemps(struct i915_fp_compile *p);
extern uint i915_emit_texld(struct i915_fp_compile *p,
uint dest,
uint destmask,
- uint sampler, uint coord, uint op);
+ uint sampler,
+ uint coord,
+ uint op,
+ uint num_coord);
extern uint i915_emit_arith(struct i915_fp_compile *p,
uint op,