mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 12:14:10 +08:00
asahi: Allocate special scratch buffers
Seem to be used for preemption. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13784>
This commit is contained in:
parent
30433ae716
commit
6637fbb211
@ -156,6 +156,9 @@ demo_cmdbuf(uint64_t *buf, size_t size,
|
||||
cfg.attachment_length = nr_attachments * AGX_IOGPU_ATTACHMENT_LENGTH;
|
||||
cfg.unknown_offset = offset_unk;
|
||||
cfg.encoder = encoder_ptr;
|
||||
|
||||
cfg.deflake_1 = demo_zero(pool, 0x540);
|
||||
cfg.deflake_2 = demo_zero(pool, 0x280);
|
||||
}
|
||||
|
||||
return total_size;
|
||||
|
Loading…
Reference in New Issue
Block a user