mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Implement B8G8R8A8{Unorm/Srgb}
RT Format
Needed by Maxwell3D Register Initialization
This commit is contained in:
@ -101,6 +101,10 @@ namespace skyline::gpu::interconnect {
|
||||
return format::R16G16B16A16Uint;
|
||||
case maxwell3d::RenderTarget::ColorFormat::R16G16B16A16Float:
|
||||
return format::R16G16B16A16Float;
|
||||
case maxwell3d::RenderTarget::ColorFormat::B8G8R8A8Unorm:
|
||||
return format::B8G8R8A8Unorm;
|
||||
case maxwell3d::RenderTarget::ColorFormat::B8G8R8A8Srgb:
|
||||
return format::B8G8R8A8Srgb;
|
||||
case maxwell3d::RenderTarget::ColorFormat::A2B10G10R10Unorm:
|
||||
return format::A2B10G10R10Unorm;
|
||||
case maxwell3d::RenderTarget::ColorFormat::R8G8B8A8Unorm:
|
||||
|
@ -40,6 +40,6 @@ namespace skyline::gpu::format {
|
||||
constexpr Format R16G16B16A16Sint{sizeof(u16) * 4, vkf::eR16G16B16A16Sint};
|
||||
constexpr Format R16G16B16A16Uint{sizeof(u16) * 4, vkf::eR16G16B16A16Uint};
|
||||
constexpr Format R16G16B16A16Float{sizeof(u16) * 4, vkf::eR16G16B16A16Sfloat};
|
||||
|
||||
/**
|
||||
constexpr Format B8G8R8A8Unorm{sizeof(u32), vkf::eB8G8R8A8Unorm};
|
||||
constexpr Format B8G8R8A8Srgb{sizeof(u32), vkf::eB8G8R8A8Srgb};
|
||||
}
|
||||
|
Reference in New Issue
Block a user