[Mesa-dev] [PATCH 07/11] i965/blorp: Set no_depth_or_stencil correctly

Jason Ekstrand jason at jlekstrand.net
Wed Jun 7 05:00:02 UTC 2017


---
 src/mesa/drivers/dri/i965/genX_blorp_exec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/genX_blorp_exec.c b/src/mesa/drivers/dri/i965/genX_blorp_exec.c
index 3451d71..0de3038 100644
--- a/src/mesa/drivers/dri/i965/genX_blorp_exec.c
+++ b/src/mesa/drivers/dri/i965/genX_blorp_exec.c
@@ -273,7 +273,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)
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list