Changes

1,102 bytes added ,  08:04, 16 December 2014
GPUREG_GSH_ENTRYPOINT, GPUREG_VSH_ENTRYPOINT
Line 3,097: Line 3,097:  
|}
 
|}
   −
== GPUREG_FINALIZE ==
+
=== GPUREG_GSH_ENTRYPOINT ===
 +
 
 +
{| class="wikitable" border="1"
 +
! Bits
 +
! Description
 +
|-
 +
| 0-15
 +
| Geometry shader unit entrypoint, in words.
 +
|-
 +
| 16-31
 +
| Unknown. This seems to always be set to 0x7FFF, and other values may cause the GPU to hang
 +
|}
 +
 
 +
This sets the entrypoint for the program running on the single shader unit which can be dedicated to running geometry shaders, regardless of the current geometry stage mode. This is means that while this register is normally used to set the geometry shader entrypoint, it can also be used to set this single shader unit to run from a different entrypoint than the other three even when running a vertex shader.
 +
 
 +
 
 +
=== GPUREG_VSH_ENTRYPOINT ===
 +
 
 +
{| class="wikitable" border="1"
 +
! Bits
 +
! Description
 +
|-
 +
| 0-15
 +
| Vertex shader entrypoint, in words.
 +
|-
 +
| 16-31
 +
| Unknown. This seems to always be set to 0x7FFF, and other values may cause the GPU to hang
 +
|}
 +
 
 +
This sets the entrypoint for the program running on shader units set to vertex shader mode. Depending on the current geometry stage mode this can include either all 4 shader units or just 3 of them.
 +
 
 +
=== GPUREG_FINALIZE ===
    
Writing to this register seems to signal the GPU to stop processing GPU commands from the current buffer; any command following a write to this register will be ignored. The value written to this register does not appear to matter, although 0x12345678 is the value typically written by commercial software.
 
Writing to this register seems to signal the GPU to stop processing GPU commands from the current buffer; any command following a write to this register will be ignored. The value written to this register does not appear to matter, although 0x12345678 is the value typically written by commercial software.
 
Failure to write to this register in any command buffer will result in the GPU hanging.
 
Failure to write to this register in any command buffer will result in the GPU hanging.
373

edits