From: Jason Ekstrand Date: Sat, 3 Jun 2017 21:48:15 +0000 (-0700) Subject: i965/blorp: Set no_depth_or_stencil correctly X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39a13c08dc16ffde7c0e11bbe1bef3c0ee55ba0e;p=mesa.git i965/blorp: Set no_depth_or_stencil correctly Reviewed-by: Samuel Iglesias Gonsálvez --- diff --git a/src/mesa/drivers/dri/i965/genX_blorp_exec.c b/src/mesa/drivers/dri/i965/genX_blorp_exec.c index a162b6e6b5d..8fd17fb053b 100644 --- a/src/mesa/drivers/dri/i965/genX_blorp_exec.c +++ b/src/mesa/drivers/dri/i965/genX_blorp_exec.c @@ -286,7 +286,8 @@ retry: * rendering tracks for GL. */ brw->ctx.NewDriverState |= BRW_NEW_BLORP; - brw->no_depth_or_stencil = false; + brw->no_depth_or_stencil = !params->depth.enabled && + !params->stencil.enabled; brw->ib.index_size = -1; if (params->dst.enabled)