mirror of
https://github.com/redstrate/Novus.git
synced 2025-06-06 13:17:46 +00:00
Fix wrong VkFormat for Byte4 vertex types
Validation layers caught that this was supposed to be SINT, not UNIT. Doesn't really affect any of the buggy visuals.
This commit is contained in:
parent
65b8d8f91e
commit
e703faab55
1 changed files with 1 additions and 1 deletions
|
@ -1005,7 +1005,7 @@ GameRenderer::CachedPipeline &GameRenderer::bindPipeline(VkCommandBuffer command
|
|||
case VertexType::Single4:
|
||||
return VK_FORMAT_R32G32B32A32_SFLOAT;
|
||||
case VertexType::Byte4:
|
||||
return VK_FORMAT_R8G8B8A8_UINT;
|
||||
return VK_FORMAT_R8G8B8A8_SINT;
|
||||
case VertexType::Short2:
|
||||
break;
|
||||
case VertexType::Short4:
|
||||
|
|
Loading…
Add table
Reference in a new issue