1
Fork 0
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:
Joshua Goins 2025-06-03 05:27:44 -04:00
parent 65b8d8f91e
commit e703faab55

View file

@ -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: