mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 13:20:25 +01:00
i965: Add stencil buffers to cache set regardless of stencil texturing
We may access them as a texture using blorp regardless of whether or not
stencil texturing is enabled.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit 6830ba0d3b)
This commit is contained in:
parent
fdd99c97ec
commit
f3caa303cf
1 changed files with 1 additions and 3 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue