Created
July 16, 2019 20:00
-
-
Save anarsoul/8ae608cb053b6db5bac3c947381639fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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