gl_rasterizer_cache: Implement RenderTargetFormat BGRA8_UNORM.

This commit is contained in:
bunnei 2018-07-23 16:56:52 -04:00
parent 89db8c2171
commit bcc184acfa
4 changed files with 22 additions and 8 deletions

View file

@ -38,6 +38,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
return 8;
case RenderTargetFormat::RGBA8_UNORM:
case RenderTargetFormat::RGB10_A2_UNORM:
case RenderTargetFormat::BGRA8_UNORM:
return 4;
default:
UNIMPLEMENTED_MSG("Unimplemented render target format {}", static_cast<u32>(format));