mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 14:35:46 +00:00
GPU: Implement the RGB10_A2 RenderTarget format, it will use the same format as the A2BGR10 texture format.
This commit is contained in:
parent
82d8bd97e8
commit
fa6edc4412
2 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,8 @@ static Tegra::Texture::TextureFormat ConvertToTextureFormat(
|
|||
switch (render_target_format) {
|
||||
case Tegra::RenderTargetFormat::RGBA8_UNORM:
|
||||
return Tegra::Texture::TextureFormat::A8R8G8B8;
|
||||
case Tegra::RenderTargetFormat::RGB10_A2_UNORM:
|
||||
return Tegra::Texture::TextureFormat::A2B10G10R10;
|
||||
default:
|
||||
UNIMPLEMENTED_MSG("Unimplemented RT format");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue