summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi/tgsi_dump.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-04-09 13:45:18 -0600
committerBrian Paul <brianp@vmware.com>2015-04-15 16:30:49 -0600
commit11bfee4c3a9f285f4cd5467dac1af5f7f0dfa307 (patch)
treea227d88c0d50a505e6b946c303d4ea1cf3e31230 /src/gallium/auxiliary/tgsi/tgsi_dump.c
parent1aa50339d816c5d5ad3107673c315569ce9b21d3 (diff)
tgsi: also dump label for TGSI_OPCODE_BGNSUB opcode
So we can see the label associated with subroutines. Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_dump.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c b/src/gallium/auxiliary/tgsi/tgsi_dump.c
index 7ae404993d..13d6769189 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_dump.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_dump.c
@@ -606,6 +606,7 @@ iter_instruction(
case TGSI_OPCODE_BGNLOOP:
case TGSI_OPCODE_ENDLOOP:
case TGSI_OPCODE_CAL:
+ case TGSI_OPCODE_BGNSUB:
TXT( " :" );
UID( inst->Label.Label );
break;