|
|
|
@ -42,6 +42,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) { |
|
|
|
case RenderTargetFormat::RGB10_A2_UNORM: |
|
|
|
case RenderTargetFormat::BGRA8_UNORM: |
|
|
|
case RenderTargetFormat::R32_FLOAT: |
|
|
|
case RenderTargetFormat::R11G11B10_FLOAT: |
|
|
|
return 4; |
|
|
|
default: |
|
|
|
UNIMPLEMENTED_MSG("Unimplemented render target format {}", static_cast<u32>(format)); |
|
|
|
|