summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_context.h
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2012-10-01 01:57:33 -0700
committerStéphane Marchesin <[email protected]>2012-10-02 17:54:50 -0700
commitfe3aeb7ea38770fce59b8261d8e2d37d4f68708f (patch)
treec69b0655a34f247d4824353fd6176015c39d96e9 /src/gallium/drivers/i915/i915_context.h
parent2acc7193743199701f8f6d1877a59ece0ec4fa5b (diff)
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.
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.h')
-rw-r--r--src/gallium/drivers/i915/i915_context.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915/i915_context.h b/src/gallium/drivers/i915/i915_context.h
index c9198e270db..4141a3d4cf3 100644
--- a/src/gallium/drivers/i915/i915_context.h
+++ b/src/gallium/drivers/i915/i915_context.h
@@ -155,8 +155,6 @@ struct i915_state
unsigned sampler[I915_TEX_UNITS][3];
unsigned sampler_enable_flags;
unsigned sampler_enable_nr;
- boolean sampler_srgb[I915_TEX_UNITS];
- int srgb_const_offset;
/* texture image buffers */
unsigned texbuffer[I915_TEX_UNITS][2];