mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 12:42:52 +00:00
Merge pull request #985 from bunnei/rt-r11g11b10
gpu: Add R11G11B10_FLOAT to RenderTargetBytesPerPixel.
This commit is contained in:
commit
cc2526dd51
|
@ -42,6 +42,7 @@ u32 RenderTargetBytesPerPixel(RenderTargetFormat format) {
|
||||||
case RenderTargetFormat::RGB10_A2_UNORM:
|
case RenderTargetFormat::RGB10_A2_UNORM:
|
||||||
case RenderTargetFormat::BGRA8_UNORM:
|
case RenderTargetFormat::BGRA8_UNORM:
|
||||||
case RenderTargetFormat::R32_FLOAT:
|
case RenderTargetFormat::R32_FLOAT:
|
||||||
|
case RenderTargetFormat::R11G11B10_FLOAT:
|
||||||
return 4;
|
return 4;
|
||||||
default:
|
default:
|
||||||
UNIMPLEMENTED_MSG("Unimplemented render target format {}", static_cast<u32>(format));
|
UNIMPLEMENTED_MSG("Unimplemented render target format {}", static_cast<u32>(format));
|
||||||
|
|
Loading…
Reference in a new issue