From e3c94fac4eb159f8c35798d1ad7515a40f5a2eca Mon Sep 17 00:00:00 2001 From: Stéphane Marchesin Date: Thu, 22 Sep 2011 19:24:07 -0700 Subject: i915g: Don't generate useless swizzles before texture accesses. That helps reduce the number of texture indirections, which are very limited on i915. --- src/gallium/drivers/i915/i915_fpc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/i915/i915_fpc.h') 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, -- cgit v1.2.3