mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 12:55:45 +00:00
video_core: Implement R8_SNORM render target
This commit is contained in:
parent
8cb663e1b4
commit
29e5516bb8
7 changed files with 13 additions and 0 deletions
|
@ -22,6 +22,7 @@ enum class PixelFormat {
|
|||
A2B10G10R10U,
|
||||
A1B5G5R5U,
|
||||
R8U,
|
||||
R8S,
|
||||
R8UI,
|
||||
RGBA16F,
|
||||
RGBA16U,
|
||||
|
@ -137,6 +138,7 @@ constexpr std::array<u32, MaxPixelFormat> compression_factor_shift_table = {{
|
|||
0, // A2B10G10R10U
|
||||
0, // A1B5G5R5U
|
||||
0, // R8U
|
||||
0, // R8S
|
||||
0, // R8UI
|
||||
0, // RGBA16F
|
||||
0, // RGBA16U
|
||||
|
@ -236,6 +238,7 @@ constexpr std::array<u32, MaxPixelFormat> block_width_table = {{
|
|||
1, // A2B10G10R10U
|
||||
1, // A1B5G5R5U
|
||||
1, // R8U
|
||||
1, // R8S
|
||||
1, // R8UI
|
||||
1, // RGBA16F
|
||||
1, // RGBA16U
|
||||
|
@ -327,6 +330,7 @@ constexpr std::array<u32, MaxPixelFormat> block_height_table = {{
|
|||
1, // A2B10G10R10U
|
||||
1, // A1B5G5R5U
|
||||
1, // R8U
|
||||
1, // R8S
|
||||
1, // R8UI
|
||||
1, // RGBA16F
|
||||
1, // RGBA16U
|
||||
|
@ -418,6 +422,7 @@ constexpr std::array<u32, MaxPixelFormat> bpp_table = {{
|
|||
32, // A2B10G10R10U
|
||||
16, // A1B5G5R5U
|
||||
8, // R8U
|
||||
8, // R8S
|
||||
8, // R8UI
|
||||
64, // RGBA16F
|
||||
64, // RGBA16U
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue