[Mesa-dev] [PATCH 2/5] tgsi: also dump label for TGSI_OPCODE_BGNSUB opcode

Brian Paul brianp at vmware.com
Tue Apr 14 09:56:25 PDT 2015


So we can see the label associated with subroutines.
---
 src/gallium/auxiliary/tgsi/tgsi_dump.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c b/src/gallium/auxiliary/tgsi/tgsi_dump.c
index 7ae4049..13d6769 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;
-- 
1.9.1



More information about the mesa-dev mailing list