Wild guess about line numbering information in DVOJs
Line 453:
Line 453:
| 0x4
| 0x4
| Size of symbol table (in bytes)
| Size of symbol table (in bytes)
+
|-
+
|}
+
+
+
=== Unknown Block 1 Item ===
+
A wild guess is that this denotes shader source line information. Take the information with a grain of salt, though, since it hasn't been backed by any empirical data so far.
+
+
The index N of the item within Unknown Block 1 corresponds to the Nth instruction in the shader binary.
+
+
{| class="wikitable" border="1"
+
|-
+
! Offset
+
! Size
+
! Description
+
|-
+
| 0x0
+
| 0x4
+
| Byte offset within symbol table pointing to a source shader filename.
+
|-
+
| 0x4
+
| 0x4
+
| Line number of the corresponding shader instruction within the shader source code.