renderer: support R8 uint render targets

This commit is contained in:
nmzik committed 2026-08-05 02:59:28 +02:00
1 parent 9a3468e3a0
commit e6b4707a5d
2 files changed
+13

No files matched your search

@@ -22,6 +22,10 @@ struct RenderTargetFormatMapping {
};
constexpr RenderTargetFormatMapping kRenderTargetFormats[] = {
{Prospero::ChannelLayout::k8,
Prospero::ChannelType::kUInt,
Prospero::ChannelOrder::kStandard,
{vk::Format::eR8Uint, 1}},
{Prospero::ChannelLayout::k8_8,
Prospero::ChannelType::kUNorm,
Prospero::ChannelOrder::kStandard,