GPU/Internal Registers: Difference between revisions
No edit summary |
Formats verified via hardware tests and/or Citra compatibility. Pixel Size kept around as before. |
||
| Line 3,133: | Line 3,133: | ||
=== GPUREG_COLORBUFFER_FORMAT === | === GPUREG_COLORBUFFER_FORMAT === | ||
Describes the format of the current color buffer used for 3D rendering. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! | ! Bits | ||
! Description | ! Description | ||
|- | |- | ||
| 0 | | 0-7 | ||
| | | Pixel size (0=16-bit, 1=24-bit, 2=32-bit, 3=64-bit?) | ||
|- | |- | ||
| | | 16-23 | ||
| | | Framebuffer Format (0=GL_RGBA8, 1=GL_RGB8, 2=GL_RGB5_A1, 3=GL_R5_G6_B5, 4=GL_RGBA4). | ||
Note that these values are slightly different from those in [[GPU#Framebuffer_color_formats]]. | |||
Color components are laid out in reverse byte order, with the most significant bits used first. | |||
|} | |} | ||