Line 3,130: |
Line 3,130: |
| | | |
| === Geometry shader registers === | | === Geometry shader registers === |
| + | |
| + | ==== GPUREG_GSH_BOOLUNIFORM ==== |
| + | |
| + | {| class="wikitable" border="1" |
| + | ! Bits |
| + | ! Description |
| + | |- |
| + | | 0 |
| + | | Value of geometry shader unit's b0 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 1 |
| + | | Value of geometry shader unit's b1 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 2 |
| + | | Value of geometry shader unit's b2 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 3 |
| + | | Value of geometry shader unit's b3 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 4 |
| + | | Value of geometry shader unit's b4 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 5 |
| + | | Value of geometry shader unit's b5 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 6 |
| + | | Value of geometry shader unit's b6 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 7 |
| + | | Value of geometry shader unit's b7 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 8 |
| + | | Value of geometry shader unit's b8 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 9 |
| + | | Value of geometry shader unit's b9 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 10 |
| + | | Value of geometry shader unit's b10 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 11 |
| + | | Value of geometry shader unit's b11 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 12 |
| + | | Value of geometry shader unit's b12 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 13 |
| + | | Value of geometry shader unit's b13 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 14 |
| + | | Value of geometry shader unit's b14 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 15 |
| + | | Value of geometry shader unit's b15 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 16-31 |
| + | | Unknown. This seems to always be set to 0x7FFF, and other values may cause the GPU to hang |
| + | |} |
| + | |
| + | This register is used to set the geometry shader unit's boolean registers. |
| | | |
| ==== GPUREG_GSH_ENTRYPOINT ==== | | ==== GPUREG_GSH_ENTRYPOINT ==== |
Line 3,147: |
Line 3,207: |
| | | |
| === Vertex shader registers === | | === Vertex shader registers === |
| + | |
| + | ==== GPUREG_VSH_BOOLUNIFORM ==== |
| + | |
| + | {| class="wikitable" border="1" |
| + | ! Bits |
| + | ! Description |
| + | |- |
| + | | 0 |
| + | | Value of vertex shader unit's b0 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 1 |
| + | | Value of vertex shader unit's b1 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 2 |
| + | | Value of vertex shader unit's b2 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 3 |
| + | | Value of vertex shader unit's b3 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 4 |
| + | | Value of vertex shader unit's b4 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 5 |
| + | | Value of vertex shader unit's b5 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 6 |
| + | | Value of vertex shader unit's b6 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 7 |
| + | | Value of vertex shader unit's b7 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 8 |
| + | | Value of vertex shader unit's b8 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 9 |
| + | | Value of vertex shader unit's b9 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 10 |
| + | | Value of vertex shader unit's b10 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 11 |
| + | | Value of vertex shader unit's b11 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 12 |
| + | | Value of vertex shader unit's b12 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 13 |
| + | | Value of vertex shader unit's b13 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 14 |
| + | | Value of vertex shader unit's b14 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 15 |
| + | | Value of vertex shader unit's b15 boolean register. (0=true, 1=false) |
| + | |- |
| + | | 16-31 |
| + | | Unknown. This seems to always be set to 0x7FFF, and other values may cause the GPU to hang |
| + | |} |
| + | |
| + | This register is used to set the vertex shader unit's boolean registers. |
| | | |
| ==== GPUREG_VSH_ENTRYPOINT ==== | | ==== GPUREG_VSH_ENTRYPOINT ==== |