GPU/Internal Registers: Difference between revisions

Added findings of https://github.com/JayFoxRox/3ds-tests/commit/415681e5a22935e9a5079deef103f40a198e68be
GPUREG_GAS_DELTAZ_DEPTH: Add gas depth function bits (found in glDepthFunc)
Line 6,451: Line 6,451:
| 0-23
| 0-23
| fixed0.16.8, Depth direction attenuation proportion
| fixed0.16.8, Depth direction attenuation proportion
|-
| 24-25
| unsigned, Depth function
|}
|}


This register is used to configure the gas depth direction attenuation proportion.
This register is used to configure the gas depth direction attenuation proportion, as well as the gas depth function.
 
Gas depth function values:
 
{| class="wikitable" border="1"
! Value
! Description
|-
| 0
| Never
|-
| 1
| Always
|-
| 2
| Greater than/Greater than or equal
|-
| 3
| Less than/Less than or equal/Equal/Not equal
|}


=== GPUREG_FRAGOP_SHADOW ===
=== GPUREG_FRAGOP_SHADOW ===