gl_rasterizer_cache: Implement RenderTargetFormat::BGRA8_SRGB.

- Used by Octopath Traveler (with multiple render targets).
This commit is contained in:
bunnei 2018-09-09 23:41:37 -04:00
parent ac959799e4
commit 1c34498368
3 changed files with 4 additions and 0 deletions

View file

@ -66,6 +66,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
case RenderTargetFormat::RGBA8_UINT:
case RenderTargetFormat::RGB10_A2_UNORM:
case RenderTargetFormat::BGRA8_UNORM:
case RenderTargetFormat::BGRA8_SRGB:
case RenderTargetFormat::RG16_UNORM:
case RenderTargetFormat::RG16_SNORM:
case RenderTargetFormat::RG16_UINT: