summaryrefslogtreecommitdiff
path: root/src/amd/compiler/aco_print_ir.cpp
diff options
context:
space:
mode:
authorTimur Kristóf <timur.kristof@gmail.com>2022-02-25 09:22:04 +0100
committerTimur Kristóf <timur.kristof@gmail.com>2022-02-25 13:20:08 +0100
commitcd0dd5d6b7416bd68a2bdc9d50c2d3fa8e2d5a69 (patch)
tree309cf225105fb12a681e679598f98470a6abe1f8 /src/amd/compiler/aco_print_ir.cpp
parent962b2fe214de502d5c6326abf33483e08a17cfe8 (diff)
aco: Add storage class for Task Shader payload.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15161>
Diffstat (limited to 'src/amd/compiler/aco_print_ir.cpp')
-rw-r--r--src/amd/compiler/aco_print_ir.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/compiler/aco_print_ir.cpp b/src/amd/compiler/aco_print_ir.cpp
index e3114b7c9c0..f650de37791 100644
--- a/src/amd/compiler/aco_print_ir.cpp
+++ b/src/amd/compiler/aco_print_ir.cpp
@@ -219,6 +219,8 @@ print_storage(storage_class storage, FILE* output)
printed += fprintf(output, "%simage", printed ? "," : "");
if (storage & storage_shared)
printed += fprintf(output, "%sshared", printed ? "," : "");
+ if (storage & storage_task_payload)
+ printed += fprintf(output, "%stask_payload", printed ? "," : "");
if (storage & storage_vmem_output)
printed += fprintf(output, "%svmem_output", printed ? "," : "");
if (storage & storage_scratch)