mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue