GPU/Internal Registers: Difference between revisions
No edit summary |
No edit summary |
||
Line 3,109: | Line 3,109: | ||
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. | ||
=== GPUREG_DEPTHBUFFER_FORMAT === | |||
The format the current depth buffer should be written into. Following values are possible: | |||
{| class="wikitable" border="1" | |||
! Value | |||
! Description | |||
|- | |||
| 0 | |||
| 16-bit depth | |||
|- | |||
| 1 | |||
| ?? seems to freeze the GPU | |||
|- | |||
| 2 | |||
| 24-bit depth | |||
|- | |||
| 3 | |||
| 24-bit depth + 8-bit stencil (stencil is within bit 24-31) | |||
|} | |||
=== GPUREG_COLORBUFFER_FORMAT === | |||
The format the current color buffer should be written into. Following values are possible: | |||
{| class="wikitable" border="1" | |||
! Value | |||
! Description | |||
|- | |||
| 0 | |||
| RGBA4 (16-bit) | |||
|- | |||
| 1 | |||
| RGB8 (24-bit) | |||
|- | |||
| 2 | |||
| RGBA8 (32-bit) | |||
|- | |||
| 3 | |||
| ?? 64-bit? | |||
|} | |||
=== GPUREG_GEOSTAGE_CONFIG === | === GPUREG_GEOSTAGE_CONFIG === |