From: Topi Pohjolainen Date: Thu, 19 Jan 2017 08:11:42 +0000 (+0200) Subject: i965/blorp: Add also depth and stencil buffers to render cache X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba6399df9462d78eda2a5de7c2940d8cf9d27f95;p=mesa.git i965/blorp: Add also depth and stencil buffers to render cache v2 (Jason, Curro): Add stencil also even though it is not enabled yet. Cc: 17.0 Reviewed-by: Kenneth Graunke Reviewed-by: Jason Ekstrand Signed-off-by: Topi Pohjolainen --- diff --git a/src/mesa/drivers/dri/i965/genX_blorp_exec.c b/src/mesa/drivers/dri/i965/genX_blorp_exec.c index 647a362afe0..37b29cd9f54 100644 --- a/src/mesa/drivers/dri/i965/genX_blorp_exec.c +++ b/src/mesa/drivers/dri/i965/genX_blorp_exec.c @@ -261,4 +261,8 @@ retry: if (params->dst.enabled) brw_render_cache_set_add_bo(brw, params->dst.addr.buffer); + if (params->depth.enabled) + brw_render_cache_set_add_bo(brw, params->depth.addr.buffer); + if (params->stencil.enabled) + brw_render_cache_set_add_bo(brw, params->stencil.addr.buffer); }