i965: Delete hw_stencil flag.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 21 Jun 2013 22:34:20 +0000 (15:34 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 28 Jun 2013 20:35:26 +0000 (13:35 -0700)
This was only used by i915.

Acked-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/intel_context.c
src/mesa/drivers/dri/i965/intel_context.h

index 0761e8610656b654c3870772db8b7f55a3cc4ac1..85b573fbe14bf9440b5b484e2df07662726d0eee 100644 (file)
@@ -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);
index 97685ce62651940b7f373bdff9ab605ab05eb3ff..b21b3998951c6b76b33d73a7bfa6866b38242009 100644 (file)
@@ -224,7 +224,6 @@ struct intel_context
 
    GLuint stats_wm;
 
-   bool hw_stencil;
    bool no_rast;
    bool always_flush_batch;
    bool always_flush_cache;