mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-08 08:59:58 +00:00
maxwell_to_vk: Implement RG32 and RGB32 integer vertex formats
This commit is contained in:
parent
4dfd5c84ea
commit
52acb7f9a0
1 changed files with 4 additions and 0 deletions
|
@ -364,6 +364,10 @@ 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:
|
||||||
|
return vk::Format::eR32G32Uint;
|
||||||
|
case Maxwell::VertexAttribute::Size::Size_32_32_32:
|
||||||
|
return vk::Format::eR32G32B32Uint;
|
||||||
case Maxwell::VertexAttribute::Size::Size_32_32_32_32:
|
case Maxwell::VertexAttribute::Size::Size_32_32_32_32:
|
||||||
return vk::Format::eR32G32B32A32Uint;
|
return vk::Format::eR32G32B32A32Uint;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue