Created
September 16, 2019 04:54
-
-
Save anarsoul/a48f348b7e2275379be324a5232c6db0 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 3b8f7526f32..d59d8ad8143 100644 | |
--- a/src/gallium/drivers/lima/lima_draw.c | |
+++ b/src/gallium/drivers/lima/lima_draw.c | |
@@ -1154,6 +1154,9 @@ lima_pack_render_state(struct lima_context *ctx, const struct pipe_draw_info *in | |
render->aux0 = 0x00000300 | (ctx->vs->varying_stride >> 3); | |
render->aux1 = 0x00003000; | |
+ /* Disable early Z - should be done when alpha blend is enabled */ | |
+ render->aux0 &= ~0x200; | |
+ | |
if (ctx->tex_stateobj.num_samplers) { | |
render->textures_address = | |
lima_ctx_buff_va(ctx, lima_ctx_buff_pp_tex_desc, LIMA_CTX_BUFF_SUBMIT_PP); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment