mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
commit
6b2719c0bb
2 changed files with 4 additions and 1 deletions
|
@ -164,7 +164,7 @@ struct FormatTuple {
|
||||||
{vk::Format::eUndefined, {}}, // ASTC_2D_5X4
|
{vk::Format::eUndefined, {}}, // ASTC_2D_5X4
|
||||||
{vk::Format::eUndefined, {}}, // BGRA8_SRGB
|
{vk::Format::eUndefined, {}}, // BGRA8_SRGB
|
||||||
{vk::Format::eBc1RgbaSrgbBlock, {}}, // DXT1_SRGB
|
{vk::Format::eBc1RgbaSrgbBlock, {}}, // DXT1_SRGB
|
||||||
{vk::Format::eUndefined, {}}, // DXT23_SRGB
|
{vk::Format::eBc2SrgbBlock, {}}, // DXT23_SRGB
|
||||||
{vk::Format::eBc3SrgbBlock, {}}, // DXT45_SRGB
|
{vk::Format::eBc3SrgbBlock, {}}, // DXT45_SRGB
|
||||||
{vk::Format::eBc7SrgbBlock, {}}, // BC7U_SRGB
|
{vk::Format::eBc7SrgbBlock, {}}, // BC7U_SRGB
|
||||||
{vk::Format::eR4G4B4A4UnormPack16, Attachable}, // R4G4B4A4U
|
{vk::Format::eR4G4B4A4UnormPack16, Attachable}, // R4G4B4A4U
|
||||||
|
@ -363,6 +363,8 @@ vk::Format VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttr
|
||||||
return vk::Format::eR8G8B8A8Uint;
|
return vk::Format::eR8G8B8A8Uint;
|
||||||
case Maxwell::VertexAttribute::Size::Size_32:
|
case Maxwell::VertexAttribute::Size::Size_32:
|
||||||
return vk::Format::eR32Uint;
|
return vk::Format::eR32Uint;
|
||||||
|
case Maxwell::VertexAttribute::Size::Size_32_32_32_32:
|
||||||
|
return vk::Format::eR32G32B32A32Uint;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -538,6 +538,7 @@ std::unordered_map<vk::Format, vk::FormatProperties> VKDevice::GetFormatProperti
|
||||||
vk::Format::eBc6HUfloatBlock,
|
vk::Format::eBc6HUfloatBlock,
|
||||||
vk::Format::eBc6HSfloatBlock,
|
vk::Format::eBc6HSfloatBlock,
|
||||||
vk::Format::eBc1RgbaSrgbBlock,
|
vk::Format::eBc1RgbaSrgbBlock,
|
||||||
|
vk::Format::eBc2SrgbBlock,
|
||||||
vk::Format::eBc3SrgbBlock,
|
vk::Format::eBc3SrgbBlock,
|
||||||
vk::Format::eBc7SrgbBlock,
|
vk::Format::eBc7SrgbBlock,
|
||||||
vk::Format::eAstc4x4SrgbBlock,
|
vk::Format::eAstc4x4SrgbBlock,
|
||||||
|
|
Loading…
Reference in a new issue