i915: Kill intel_context::hw_stencil
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Sun, 6 Jul 2014 12:10:44 +0000 (15:10 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 13 Nov 2014 17:13:27 +0000 (19:13 +0200)
ctx.hw_stencil is not used anywhere so kill it.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
src/mesa/drivers/dri/i915/intel_context.c
src/mesa/drivers/dri/i915/intel_context.h

index 3104776c4ea1562b7c5a81753fd0fd71af80ebb7..12a1d2b7d366b86c93294253ce7da739860630ae 100644 (file)
@@ -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;
index fccf821993d555932b229fd56b36e4126c05fbfc..c3145948d2db177dd6932ae28ab9a4e2efdc855d 100644 (file)
@@ -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;