if (!intel->hw_stencil) { | if (!intel->hw_stencil) { | ||||
swrast_mask |= BUFFER_BIT_STENCIL; | swrast_mask |= BUFFER_BIT_STENCIL; | ||||
} | } | ||||
else if (ctx->Stencil.WriteMask[0] != 0xff) { | |||||
else if (ctx->Stencil.WriteMask[0] != ~0U) { | |||||
tri_mask |= BUFFER_BIT_STENCIL; | tri_mask |= BUFFER_BIT_STENCIL; | ||||
} | } | ||||
else { | else { |