[Mesa-dev] [PATCH] i965/blorp: Add also depth buffer to render cache

Jason Ekstrand jason at jlekstrand.net
Thu Jan 19 19:07:49 UTC 2017


Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

On Thu, Jan 19, 2017 at 5:29 AM, Topi Pohjolainen <
topi.pohjolainen at gmail.com> wrote:

> CC: Francisco Jerez <currojerez at riseup.net>
> CC: Kenneth Graunke <kenneth at whitecape.org>
> CC: Jason Ekstrand <jason at jlekstrand.net>
> Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
> ---
>  src/mesa/drivers/dri/i965/genX_blorp_exec.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/genX_blorp_exec.c
> b/src/mesa/drivers/dri/i965/genX_blorp_exec.c
> index 647a362..594bd5a 100644
> --- a/src/mesa/drivers/dri/i965/genX_blorp_exec.c
> +++ b/src/mesa/drivers/dri/i965/genX_blorp_exec.c
> @@ -261,4 +261,7 @@ 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);
>  }
> --
> 2.5.5
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170119/1624b86a/attachment.html>


More information about the mesa-dev mailing list