Module: Mesa
Branch: master
Commit: 11bfee4c3a9f285f4cd5467dac1af5f7f0dfa307
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=11bfee4c3a9f285f4cd5467dac1af5f7f0dfa307

Author: Brian Paul <[email protected]>
Date:   Thu Apr  9 13:45:18 2015 -0600

tgsi: also dump label for TGSI_OPCODE_BGNSUB opcode

So we can see the label associated with subroutines.

Reviewed-by: José Fonseca <[email protected]>

---

 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;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to