gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.

This commit is contained in:
bunnei 2018-07-23 19:10:00 -04:00
parent 3a19c1098d
commit a27c0099ed
5 changed files with 25 additions and 7 deletions

View file

@ -35,6 +35,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
case RenderTargetFormat::RGBA32_FLOAT:
return 16;
case RenderTargetFormat::RGBA16_FLOAT:
case RenderTargetFormat::RG32_FLOAT:
return 8;
case RenderTargetFormat::RGBA8_UNORM:
case RenderTargetFormat::RGB10_A2_UNORM: