GPU/Internal Registers: Difference between revisions

GPUREG_SH_BOOLUNIFORM: In the end, 0=false 1=true. Previous behaviour was caused by a combination of bugs in homebrew libraries.
Yuriks (talk | contribs)
GPUREG_DEPTH_COLOR_MASK: Add information about "Depth test enable" not disabling depth writes.
Line 6,047: Line 6,047:


This register is used to depth testing and framebuffer write masking.
This register is used to depth testing and framebuffer write masking.
Note that setting the "Depth test enabled" bit to 0 will ''not'' also disable depth writes. It will instead behave as if the depth function were set to "Always". To completely disable depth-related operations both the depth test and depth write bits must be disabled.


Depth function values:
Depth function values: