gl_rasterizer: Implement render target format RG8_SNORM.
- Used by Super Mario Odyssey.
This commit is contained in:
parent
0471976b48
commit
88ffa422d4
4 changed files with 18 additions and 8 deletions
|
@ -67,6 +67,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
|
|||
case RenderTargetFormat::R16_UINT:
|
||||
case RenderTargetFormat::R16_SINT:
|
||||
case RenderTargetFormat::R16_FLOAT:
|
||||
case RenderTargetFormat::RG8_SNORM:
|
||||
return 2;
|
||||
case RenderTargetFormat::R8_UNORM:
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue