asahi: Sync some more unknown fields

I don't understand these structs well. Good news, though-- Asahi Lina
confirmed this is all software-defined crap in the macOS UABI.
Unfortunately, they seem to correspond to physical registers.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16512>
This commit is contained in:
Alyssa Rosenzweig 2022-05-08 20:55:05 -04:00
parent d8227f09d0
commit 6eb62c5f50
1 changed files with 3 additions and 0 deletions

View File

@ -229,6 +229,8 @@ demo_cmdbuf(uint64_t *buf, size_t size,
}
agx_pack(map + 292, IOGPU_CLEAR_Z_S, cfg) {
cfg.set_when_reloading_z_1 = clear_pipeline_textures;
cfg.depth_clear_value = fui(clear_depth);
cfg.stencil_clear_value = clear_stencil;
@ -246,6 +248,7 @@ demo_cmdbuf(uint64_t *buf, size_t size,
cfg.unknown_buffer = demo_unk6(pool);
cfg.width = framebuffer->width;
cfg.height = framebuffer->height;
cfg.unk_80 = clear_pipeline_textures ? 0x0 : 0x1;
}
unsigned offset_unk = (484 * 4);