From a4e31956ac88e3f4d412fceceddd86ba7bb424ae Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 21 Jun 2013 15:34:20 -0700 Subject: [PATCH] i965: Delete hw_stencil flag. This was only used by i915. Acked-by: Eric Anholt --- src/mesa/drivers/dri/i965/intel_context.c | 2 -- src/mesa/drivers/dri/i965/intel_context.h | 1 - 2 files changed, 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; -- 2.30.2