Mesa (main): pan/bi: Add slot to bi_instr
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jun 1 16:29:30 UTC 2022
Module: Mesa
Branch: main
Commit: c846e0812b672d980f6d099beffd5337698b573c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c846e0812b672d980f6d099beffd5337698b573c
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Wed May 25 09:38:48 2022 -0400
pan/bi: Add slot to bi_instr
For better handling of message-passing instructions.
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16804>
---
src/panfrost/bifrost/compiler.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h
index 4527affd3f9..076c4bf535d 100644
--- a/src/panfrost/bifrost/compiler.h
+++ b/src/panfrost/bifrost/compiler.h
@@ -390,6 +390,9 @@ typedef struct {
/* Flow control associated with a Valhall instruction */
uint8_t flow;
+ /* Slot associated with a message-passing instruction */
+ uint8_t slot;
+
/* Can we spill the value written here? Used to prevent
* useless double fills */
bool no_spill;
More information about the mesa-commit
mailing list