Implement R32_FLOAT RenderTargetFormat

This commit is contained in:
Unknown 2018-08-01 15:31:42 +02:00
parent 703663d761
commit 0d8fcab136
3 changed files with 5 additions and 0 deletions

View file

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