This is still needed.
Clause header is typically 32bits in length (can be 64bits in some instances)
Tail is always 32bits in length.
Header should contain various flags.
- I've noticed things like clause type and size when skimming.
- Might be wrong, I was skimming very quickly.
- 12 different clause types
I presume Tail also has a bunch of flags as well.
Need to determine the bitfield layout of this to get the disassembler working properly.
Simple shaders tend to have clause bundles that are only 1 instruction in length so it isn't the biggest issue during initial bringup, but anything more complex than some basic knowledge to decode properly.
This is still needed.
Clause header is typically 32bits in length (can be 64bits in some instances)
Tail is always 32bits in length.
Header should contain various flags.
I presume Tail also has a bunch of flags as well.
Need to determine the bitfield layout of this to get the disassembler working properly.
Simple shaders tend to have clause bundles that are only 1 instruction in length so it isn't the biggest issue during initial bringup, but anything more complex than some basic knowledge to decode properly.