Commit 0d670de7 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Identify FRAMEBUFFER_MSAA fields

parent 24e7f383
......@@ -354,6 +354,13 @@ struct mali_payload_fragment {
/* (Single?) Framebuffer Descriptor */
/* Flags apply to unknown2. With just MSAA_A and MSAA_B, the framebuffer is
* configured for 4x. With MSAA_8, it is configured for 8x. */
#define MALI_FRAMEBUFFER_MSAA_8 (1 << 3)
#define MALI_FRAMEBUFFER_MSAA_A (1 << 4)
#define MALI_FRAMEBUFFER_MSAA_B (1 << 23)
/* Fast/slow based on whether all three buffers are cleared at once */
#define MALI_CLEAR_FAST (1 << 18)
......
......@@ -370,7 +370,7 @@ void main(void) {
.unknown1 = 0x0,
.flags = 0x1f,
.heap_free_address = 0x0,
.unknown2 = 0xb84e0281 | 0x10 | (1 << 23),
.unknown2 = 0xb84e0281 | MALI_FRAMEBUFFER_MSAA_A | MALI_FRAMEBUFFER_MSAA_B,
.weights = { 0x0, 0x0, 0x0, 0x0, 0x20c75c0, 0x1, 0xfffff9c0, 0x0, },
.unknown_address_0 = alloc_gpu_va_11 + 0,
.unknown_address_1 = alloc_gpu_va_11 + 24576,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment