From ba6399df9462d78eda2a5de7c2940d8cf9d27f95 Mon Sep 17 00:00:00 2001 From: Topi Pohjolainen Date: Thu, 19 Jan 2017 10:11:42 +0200 Subject: [PATCH] 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 --- src/mesa/drivers/dri/i965/genX_blorp_exec.c | 4 ++++ 1 file changed, 4 insertions(+) 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); } -- 2.30.2