i915g: Do generic remapping.
authorStéphane Marchesin <marcheu@chromium.org>
Tue, 7 Jun 2011 03:40:16 +0000 (20:40 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Tue, 7 Jun 2011 03:40:16 +0000 (20:40 -0700)
commitabb436526974bd090853c0927ece0839f9143393
tree9c36cc853f266b22b761cd585a098594512d62ed
parent2292025c49f2165b59f578c926d320913b08b1b5
i915g: Do generic remapping.

With complex shaders there are often "holes" in the fs inputs, and we only
have 8 tex coorsd to map those to. To fix this, we remap fs inputs to [0..8].
This lets us to run many more GLSL programs.
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i915/i915_fpc_translate.c
src/gallium/drivers/i915/i915_state_derived.c