summaryrefslogtreecommitdiffstats
path: root/src/broadcom/compiler/vir_dump.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-12-10 17:11:25 -0800
committerEric Anholt <[email protected]>2019-01-14 15:40:55 -0800
commit5932c2f0b9b56e6eeee87baa7b0b493227850f69 (patch)
treec93d65bea9cebf3f236fc72ad6960ef7dca1b416 /src/broadcom/compiler/vir_dump.c
parent6c8edcb89c1264c43f5e98444551edb8df2f91f9 (diff)
v3d: Add SSBO/atomic counters support.
So far I assume that all the buffers get written. If they weren't, you'd probably be using UBOs instead.
Diffstat (limited to 'src/broadcom/compiler/vir_dump.c')
-rw-r--r--src/broadcom/compiler/vir_dump.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/broadcom/compiler/vir_dump.c b/src/broadcom/compiler/vir_dump.c
index 56960e6d7ab..5bef6c6a42d 100644
--- a/src/broadcom/compiler/vir_dump.c
+++ b/src/broadcom/compiler/vir_dump.c
@@ -81,6 +81,14 @@ vir_dump_uniform(enum quniform_contents contents,
fprintf(stderr, "ubo[%d]", data);
break;
+ case QUNIFORM_SSBO_OFFSET:
+ fprintf(stderr, "ssbo[%d]", data);
+ break;
+
+ case QUNIFORM_GET_BUFFER_SIZE:
+ fprintf(stderr, "ssbo_size[%d]", data);
+ break;
+
default:
if (quniform_contents_is_texture_p0(contents)) {
fprintf(stderr, "tex[%d].p0: 0x%08x",