summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2014-07-06 15:10:44 +0300
committerVille Syrjälä <[email protected]>2014-11-13 19:13:27 +0200
commit3746ff89bc5c0b84119e8aff3afab39842fbb40e (patch)
treedc501e74b70db0bd763ffc9aa7735ce02d79520f /src/mesa/drivers/dri
parentdafae910d4fc791ba49f20e937cb918669f42944 (diff)
i915: Kill intel_context::hw_stencil
ctx.hw_stencil is not used anywhere so kill it. Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.c1
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c
index 3104776c4ea..12a1d2b7d36 100644
--- a/src/mesa/drivers/dri/i915/intel_context.c
+++ b/src/mesa/drivers/dri/i915/intel_context.c
@@ -507,7 +507,6 @@ intelInitContext(struct intel_context *intel,
_mesa_meta_init(ctx);
- intel->hw_stencil = mesaVis && mesaVis->stencilBits && mesaVis->depthBits == 24;
intel->hw_stipple = 1;
intel->RenderIndex = ~0;
diff --git a/src/mesa/drivers/dri/i915/intel_context.h b/src/mesa/drivers/dri/i915/intel_context.h
index fccf821993d..c3145948d2d 100644
--- a/src/mesa/drivers/dri/i915/intel_context.h
+++ b/src/mesa/drivers/dri/i915/intel_context.h
@@ -226,7 +226,6 @@ struct intel_context
GLfloat polygon_offset_scale; /* dependent on depth_scale, bpp */
- bool hw_stencil;
bool hw_stipple;
bool no_rast;
bool always_flush_batch;