SHBIN: Difference between revisions

Oreo639 (talk | contribs)
Update output table
Oreo639 (talk | contribs)
Update DVOJ section
 
(One intermediate revision by the same user not shown)
Line 331: Line 331:
|  0x6
|  0x6
|  0x2
|  0x2
|  Unknown (Consistently the same number throughout the entire shader?)
|  Unknown (Consistently the same number throughout the DVLE, may vary between DVLEs?)
|-
|-
|}
|}
Line 433: Line 433:
|-
|-
|  0x04
|  0x04
0x4
0x2
|  Unknown. Seems to be related to the DVLE shader type.
|  Unknown. (Likely a version number)
|-
|  0x06
|  0x1
|  Shader type (0x0 = vertex shader, 0x1 = geometry shader; might contain other flags)
|-
|  0x07
|  0x1
|  true = merge vertex and geometry shader outmaps (geometry shader)
|-
|-
|  0x08
|  0x08
0x4
0x2
Unknown.
Bitmask of used input registers.
|-
|  0x10
|  0x2
|  Bitmask of used output registers.
|-
|-
|  0x0C
|  0x0C
Line 470: Line 482:
|  0x28
|  0x28
|  0x4
|  0x4
|  Offset (relative to DVLP start) to shader instruction extension table
|  Offset to operand descriptor table
|-
|-
|  0x2C
|  0x2C
|  0x4
|  0x4
|  Number of shader instruction extension table entries (each entry is 8-byte long)
|  Number of operand descriptor table entries (each entry is 8-bytes long)
|-
|-
|  0x30
|  0x30