diff options
author | Eric Anholt <[email protected]> | 2018-12-07 15:47:18 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-01-14 15:40:55 -0800 |
commit | 01d913cf90d3c57ba82f555bdf4ccb8ef7f9801e (patch) | |
tree | 48640d00a6c7a037cd30e23539f77d3c7312bb56 /src/broadcom/compiler/vir_dump.c | |
parent | 6281f26f064ada36b57d45feb68d8e7d783198c9 (diff) |
v3d: Add support for CS workgroup/invocation id intrinsics.
We get a payload for the ivec3 workgroup and an int local invocation
index, and we use the core lowering to turn into the global invocation id
and the local invocation id ivec3s.
Diffstat (limited to 'src/broadcom/compiler/vir_dump.c')
-rw-r--r-- | src/broadcom/compiler/vir_dump.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/broadcom/compiler/vir_dump.c b/src/broadcom/compiler/vir_dump.c index 028e2b36c4b..0ec3070dedc 100644 --- a/src/broadcom/compiler/vir_dump.c +++ b/src/broadcom/compiler/vir_dump.c @@ -108,6 +108,10 @@ vir_dump_uniform(enum quniform_contents contents, fprintf(stderr, "ssbo_size[%d]", data); break; + case QUNIFORM_NUM_WORK_GROUPS: + fprintf(stderr, "num_wg.%c", data < 3 ? "xyz"[data] : '?'); + break; + default: if (quniform_contents_is_texture_p0(contents)) { fprintf(stderr, "tex[%d].p0: 0x%08x", |