Implement R8_UINT RenderTargetFormat & PixelFormat (#1014)
- Used by Go Vacation
This commit is contained in:
parent
403dfd68fc
commit
224071a652
4 changed files with 74 additions and 55 deletions
|
@ -70,6 +70,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
|
|||
case RenderTargetFormat::RG8_SNORM:
|
||||
return 2;
|
||||
case RenderTargetFormat::R8_UNORM:
|
||||
case RenderTargetFormat::R8_UINT:
|
||||
return 1;
|
||||
default:
|
||||
UNIMPLEMENTED_MSG("Unimplemented render target format {}", static_cast<u32>(format));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue