tgsi: also dump label for TGSI_OPCODE_BGNSUB opcode
authorBrian Paul <brianp@vmware.com>
Thu, 9 Apr 2015 19:45:18 +0000 (13:45 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 15 Apr 2015 22:30:49 +0000 (16:30 -0600)
So we can see the label associated with subroutines.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_dump.c

index 7ae404993dc3248d1ad3973a1d035da68c7d2d32..13d67691897b8671562835aea4073650099d25f8 100644 (file)
@@ -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;