aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-03-15 00:56:29 -0700
committerKenneth Graunke <[email protected]>2017-03-16 10:48:41 -0700
commit65a9d5eabb05e4925c1c9a17836cad57304210d6 (patch)
treee8255e6c70a9ab49f82a455206ff4f6baf02a356 /m4
parentf0aa8fd4e46f7fb00b493ce0267b4404b4a1a0dd (diff)
aubinator: Reuse decode_structure code for handling commands
The code for decoding structures and commands was almost identical. The only differences are: we print dword headers for commands, and we skip the first one (with the command opcode and lengths). So, generalize decode_structure to add a starting DWord, and a flag for printing the DWord headers, and reuse it. Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions