Mesa (main): asahi: Comment on an embedded data structure
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jul 6 13:55:47 UTC 2021
Module: Mesa
Branch: main
Commit: 4c7a07e3b6be4c4e5c2abde99a8281e394846ca1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c7a07e3b6be4c4e5c2abde99a8281e394846ca1
Author: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Date: Mon Jul 5 17:01:44 2021 -0400
asahi: Comment on an embedded data structure
This file makes me sad :'(
Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11730>
---
src/gallium/drivers/asahi/magic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/asahi/magic.c b/src/gallium/drivers/asahi/magic.c
index ce32ca39daf..e09b28798f9 100644
--- a/src/gallium/drivers/asahi/magic.c
+++ b/src/gallium/drivers/asahi/magic.c
@@ -129,6 +129,7 @@ demo_cmdbuf(uint64_t *buf, size_t size,
EMIT_ZERO_WORDS(cmdbuf, 40);
+ // This is a pipeline bind
EMIT32(cmdbuf, 0xffff8002 | (clear_pipeline_textures ? 0x210 : 0)); // 0x270
EMIT32(cmdbuf, 0);
EMIT64(cmdbuf, pipeline_clear | 0x4);
More information about the mesa-commit
mailing list