Skip to content

Information on Clause header/tail layout #2

@BiOpenly

Description

@BiOpenly

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions