Skip to content

Instantly share code, notes, and snippets.

@anarsoul
Created July 16, 2019 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anarsoul/8ae608cb053b6db5bac3c947381639fd to your computer and use it in GitHub Desktop.
Save anarsoul/8ae608cb053b6db5bac3c947381639fd to your computer and use it in GitHub Desktop.
diff --git a/src/gallium/drivers/lima/lima_draw.c b/src/gallium/drivers/lima/lima_draw.c
index 8c1e7ed01bc..2fe4600f373 100644
--- a/src/gallium/drivers/lima/lima_draw.c
+++ b/src/gallium/drivers/lima/lima_draw.c
@@ -1548,7 +1548,7 @@ lima_pack_pp_frame_reg(struct lima_context *ctx, uint32_t *frame_reg,
* memory bandwidth don't write depth/stencil back to memory if we're
* rendering to scanout
*/
- if (!lima_is_scanout(ctx) && fb->base.zsbuf)
+ if (/*!lima_is_scanout(ctx) &&*/ fb->base.zsbuf)
lima_pack_wb_zsbuf_reg(ctx, wb_reg, wb_idx++);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment