aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_fpc.h
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-09-22 19:24:07 -0700
committerStéphane Marchesin <[email protected]>2011-09-22 19:26:33 -0700
commite3c94fac4eb159f8c35798d1ad7515a40f5a2eca (patch)
treee330a298fae61b1dbb39f403394c372d42f5b204 /src/gallium/drivers/i915/i915_fpc.h
parent79a0499369470a2a9b2cb5cfc83b1790283f4556 (diff)
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 41bf5161b0b..26cf2fbbe10 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,