i915g: Implement srgb textures the easy way.
authorStéphane Marchesin <marcheu@chromium.org>
Mon, 1 Oct 2012 08:57:33 +0000 (01:57 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Wed, 3 Oct 2012 00:54:50 +0000 (17:54 -0700)
commitfe3aeb7ea38770fce59b8261d8e2d37d4f68708f
treec69b0655a34f247d4824353fd6176015c39d96e9
parent2acc7193743199701f8f6d1877a59ece0ec4fa5b
i915g: Implement srgb textures the easy way.

Since the hw can do it, let's use the hw. It's less accurate
but doesn't have the shader instruction count shortcomings.
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i915/i915_state_emit.c
src/gallium/drivers/i915/i915_state_sampler.c