Implement R8_UINT RenderTargetFormat & PixelFormat (#1014)

- Used by Go Vacation
This commit is contained in:
greggameplayer 2018-08-12 03:44:42 +02:00 committed by bunnei
parent 403dfd68fc
commit 224071a652
4 changed files with 74 additions and 55 deletions

View file

@ -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));