mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-27 21:04:16 +01:00
maxwell_to_vk: add vertex format eA2B10G10R10UnormPack32
This commit is contained in:
parent
00e9ba0603
commit
54681909be
@ -331,6 +331,8 @@ vk::Format VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttr
|
|||||||
return vk::Format::eR16G16B16Unorm;
|
return vk::Format::eR16G16B16Unorm;
|
||||||
case Maxwell::VertexAttribute::Size::Size_16_16_16_16:
|
case Maxwell::VertexAttribute::Size::Size_16_16_16_16:
|
||||||
return vk::Format::eR16G16B16A16Unorm;
|
return vk::Format::eR16G16B16A16Unorm;
|
||||||
|
case Maxwell::VertexAttribute::Size::Size_10_10_10_2:
|
||||||
|
return vk::Format::eA2B10G10R10UnormPack32;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user