Changes

723 bytes added ,  05:41, 14 September 2020
Fill in missing DVLE sections based on information from picasso and libctru
Line 80: Line 80:  
|  0x4
 
|  0x4
 
|  Magic "DVLE"
 
|  Magic "DVLE"
 +
|-
 +
|  0x4
 +
|  0x2
 +
|  Unknown
 
|-
 
|-
 
|  0x6
 
|  0x6
 
|  0x1
 
|  0x1
 
|  Shader type (0x0 = vertex shader, 0x1 = geometry shader; might contain other flags)
 
|  Shader type (0x0 = vertex shader, 0x1 = geometry shader; might contain other flags)
 +
|-
 +
|  0x7
 +
|  0x1
 +
|  true = merge vertex/geometry shader outmaps ('dummy' output attribute is present)
 
|-
 
|-
 
|  0x8
 
|  0x8
Line 92: Line 100:  
|  0x4
 
|  0x4
 
|  Executable's program's endmain offset in binary blob (in words)
 
|  Executable's program's endmain offset in binary blob (in words)
 +
|-
 +
|  0x10
 +
|  0x2
 +
|  Bitmask of used input registers
 +
|-
 +
|  0x12
 +
|  0x2
 +
|  Bitmask of used output registers
 +
|-
 +
|  0x14
 +
|  0x1
 +
|  Geometry shader type (point = 0x0, variable/subdivide = 0x1, fixed/particle = 0x2)
 +
|-
 +
|  0x15
 +
|  0x1
 +
|  Starting float uniform register number for storing the fixed-size primitive vertex array (geometry shader, fixed mode)
 +
|-
 +
|  0x16
 +
|  0x1
 +
|  Number of fully-defined vertices in the variable-size primitive vertex array (geometry shader, variable mode)
 +
|-
 +
|  0x17
 +
|  0x1
 +
|  Number of vertices in the fixed-size primitive vertex array (geometry shader, fixed mode)
 
|-
 
|-
 
|  0x18
 
|  0x18
35

edits