summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-04-09 13:45:18 -0600
committerBrian Paul <[email protected]>2015-04-15 16:30:49 -0600
commit11bfee4c3a9f285f4cd5467dac1af5f7f0dfa307 (patch)
treea227d88c0d50a505e6b946c303d4ea1cf3e31230 /src
parent1aa50339d816c5d5ad3107673c315569ce9b21d3 (diff)
tgsi: also dump label for TGSI_OPCODE_BGNSUB opcode
So we can see the label associated with subroutines. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src')
-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 7ae404993dc..13d67691897 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;