summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-06-21 15:34:20 -0700
committerKenneth Graunke <[email protected]>2013-06-28 13:35:26 -0700
commita4e31956ac88e3f4d412fceceddd86ba7bb424ae (patch)
treeba50c082fd5d8591421d1a3e61d0208a8b8ddcf4 /src/mesa
parent4299e3588811d71301f17a1d7edaa0df7e2e615a (diff)
i965: Delete hw_stencil flag.
This was only used by i915. Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/intel_context.c2
-rw-r--r--src/mesa/drivers/dri/i965/intel_context.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c
index 0761e861065..85b573fbe14 100644
--- a/src/mesa/drivers/dri/i965/intel_context.c
+++ b/src/mesa/drivers/dri/i965/intel_context.c
@@ -612,8 +612,6 @@ intelInitContext(struct intel_context *intel,
_mesa_meta_init(ctx);
- intel->hw_stencil = mesaVis->stencilBits && mesaVis->depthBits == 24;
-
intelInitExtensions(ctx);
INTEL_DEBUG = driParseDebugString(getenv("INTEL_DEBUG"), debug_control);
diff --git a/src/mesa/drivers/dri/i965/intel_context.h b/src/mesa/drivers/dri/i965/intel_context.h
index 97685ce6265..b21b3998951 100644
--- a/src/mesa/drivers/dri/i965/intel_context.h
+++ b/src/mesa/drivers/dri/i965/intel_context.h
@@ -224,7 +224,6 @@ struct intel_context
GLuint stats_wm;
- bool hw_stencil;
bool no_rast;
bool always_flush_batch;
bool always_flush_cache;