GPU/Internal Registers: Difference between revisions

Emufan4568 (talk | contribs)
m Document previous usage in the first TEV stage
PabloMK7 (talk | contribs)
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 4,161: Line 4,161:


These registers map components of the corresponding vertex shader output register to specific fixed-function semantics.
These registers map components of the corresponding vertex shader output register to specific fixed-function semantics.
Semantics that have not been mapped to a component of an output register have a value of 1


Semantic values:
Semantic values:
Line 5,252: Line 5,254:
|}
|}


Using previous source in the first TEV stage returns the primary color, while previous buffer returns zero.
Using Previous (15) as a source in the first TEV stage returns the value of source 3. If source 3 has Previous it returns zero. Previous buffer (13) always returns zero.


=== GPUREG_TEXENV''i''_OPERAND ===
=== GPUREG_TEXENV''i''_OPERAND ===
Line 6,330: Line 6,332:
|-
|-
| 24
| 24
| 0x1
| unsigned, Vertical flip? (0 = enable, 1 = disable)
|}
|}


Line 7,729: Line 7,731:


This register sets whether to use the geometry shader configuration or reuse the vertex shader configuration for the geometry shader shading unit.
This register sets whether to use the geometry shader configuration or reuse the vertex shader configuration for the geometry shader shading unit.
When disabled and the geometry unit is not in use, as configured by GPUREG_GEOSTAGE_CONFIG, uniforms, outmap mask, program code and swizzle data are propagated to the geometry shader unit.


=== GPUREG_START_DRAW_FUNC0 ===
=== GPUREG_START_DRAW_FUNC0 ===