[Mesa-stable] [PATCH 1/4] i965: Add stencil buffers to cache set regardless of stencil texturing
Jason Ekstrand
jason at jlekstrand.net
Mon Nov 6 21:38:54 UTC 2017
We may access them as a texture using blorp regardless of whether or not
stencil texturing is enabled.
Cc: mesa-stable at lists.freedesktop.org
---
src/mesa/drivers/dri/i965/brw_draw.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c
index 809e722..10b6298 100644
--- a/src/mesa/drivers/dri/i965/brw_draw.c
+++ b/src/mesa/drivers/dri/i965/brw_draw.c
@@ -564,10 +564,8 @@ brw_postdraw_set_buffers_need_resolve(struct brw_context *brw)
brw_render_cache_set_add_bo(brw, depth_irb->mt->bo);
}
- if (ctx->Extensions.ARB_stencil_texturing &&
- stencil_irb && brw->stencil_write_enabled) {
+ if (stencil_irb && brw->stencil_write_enabled)
brw_render_cache_set_add_bo(brw, stencil_irb->mt->bo);
- }
for (unsigned i = 0; i < fb->_NumColorDrawBuffers; i++) {
struct intel_renderbuffer *irb =
--
2.5.0.400.gff86faf
More information about the mesa-stable
mailing list