i915g: Implement sRGB textures
authorStéphane Marchesin <marcheu@chromium.org>
Tue, 26 Jun 2012 02:45:56 +0000 (19:45 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Wed, 27 Jun 2012 06:18:15 +0000 (23:18 -0700)
commit45fc069600ddbfe07a0a0cd5280161a8c7c55dd0
tree46b57b85495b4f09b588fed561db7da7e8562077
parent3bc39414ab960ecd77662e41c8df751c2c9c8984
i915g: Implement sRGB textures

Since we don't have them in hw we emulate them in the shader. Although not
recommended by the spec it is legit.

As a side effect we also get GL 2.1. I think this is as far as we can take
the i915.
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i915/i915_screen.c
src/gallium/drivers/i915/i915_state_emit.c
src/gallium/drivers/i915/i915_state_sampler.c
src/gallium/drivers/i915/i915_state_static.c