mirror of
https://git.citron-emu.org/Citron/Emulator.git
synced 2025-12-16 16:37:01 +00:00
renderer_opengl: Implement RenderTargetFormat::RGBA16_UNORM.
- Used by Breath of the Wild.
This commit is contained in:
parent
46fbf6dd92
commit
6e52f37d5b
4 changed files with 48 additions and 37 deletions
|
|
@ -47,6 +47,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
|
|||
case RenderTargetFormat::RGBA32_UINT:
|
||||
return 16;
|
||||
case RenderTargetFormat::RGBA16_UINT:
|
||||
case RenderTargetFormat::RGBA16_UNORM:
|
||||
case RenderTargetFormat::RGBA16_FLOAT:
|
||||
case RenderTargetFormat::RG32_FLOAT:
|
||||
case RenderTargetFormat::RG32_UINT:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue