Created
October 18, 2019 21:17
-
-
Save anarsoul/fa8c59d4be808d83a72b0ff56f659253 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 33f4c2ce59..7f6235be07 100644 | |
--- a/src/gallium/drivers/lima/lima_draw.c | |
+++ b/src/gallium/drivers/lima/lima_draw.c | |
@@ -1499,7 +1499,7 @@ lima_pack_pp_frame_reg(struct lima_context *ctx, uint32_t *frame_reg, | |
/* These are "stack size" and "stack offset" shifted, | |
* here they are assumed to be always the same. */ | |
- uint32_t fs_stack_size = ctx->fs ? ctx->fs->stack_size : 0; | |
+ uint32_t fs_stack_size = ctx->fs ? ctx->pp_max_stack_size : 0; | |
frame->fragment_stack_size = fs_stack_size << 16 | fs_stack_size; | |
/* related with MSAA and different value when r4p0/r7p0 */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment