aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/tgsi_dump.gdb
blob: c793555ca5637e3244a3be6f51bb8bfd03493e4e (plain)
1
2
3
4
5
6
define tgsi_dump
    set $tokens=(const struct tgsi_header *)($arg0)
    set $nr_tokens = $tokens->HeaderSize + $tokens->BodySize
    set $tokens_end = &$tokens[$nr_tokens]
    dump memory tgsi_dump.bin $tokens $tokens_end
end