gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.
This commit is contained in:
parent
3a19c1098d
commit
a27c0099ed
5 changed files with 25 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue