i915g: Don't generate useless swizzles before texture accesses.
authorStéphane Marchesin <marcheu@chromium.org>
Fri, 23 Sep 2011 02:24:07 +0000 (19:24 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Fri, 23 Sep 2011 02:26:33 +0000 (19:26 -0700)
commite3c94fac4eb159f8c35798d1ad7515a40f5a2eca
treee330a298fae61b1dbb39f403394c372d42f5b204
parent79a0499369470a2a9b2cb5cfc83b1790283f4556
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
src/gallium/drivers/i915/i915_fpc_emit.c
src/gallium/drivers/i915/i915_fpc_translate.c