summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-06-03 14:48:15 -0700
committerJason Ekstrand <[email protected]>2017-06-14 18:15:05 -0700
commit39a13c08dc16ffde7c0e11bbe1bef3c0ee55ba0e (patch)
tree22d3062eb2dfccd914bf27d9ba1c873eceb4c621
parentb14852997a991816a6340918a3a2b62214211f84 (diff)
i965/blorp: Set no_depth_or_stencil correctly
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/genX_blorp_exec.c3
1 files changed, 2 insertions, 1 deletions
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)