gl_rasterizer: Implement render target format RGBA8_SNORM.
- Used by Super Mario Odyssey.
This commit is contained in:
parent
d64303d185
commit
0471976b48
4 changed files with 83 additions and 64 deletions
|
@ -50,6 +50,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
|
|||
case RenderTargetFormat::RG32_FLOAT:
|
||||
return 8;
|
||||
case RenderTargetFormat::RGBA8_UNORM:
|
||||
case RenderTargetFormat::RGBA8_SNORM:
|
||||
case RenderTargetFormat::RGBA8_SRGB:
|
||||
case RenderTargetFormat::RGB10_A2_UNORM:
|
||||
case RenderTargetFormat::BGRA8_UNORM:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue