Improve Windows vulkan draw performance by reducing the size of a struct.

This commit is contained in:
Sasha Szpakowski
2024-03-10 14:33:29 -03:00
parent b12ecf49d8
commit ec9fb6eb28
5 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -2273,7 +2273,7 @@ void Graphics::createVulkanVertexFormat(
attributeDescription.location = i;
attributeDescription.binding = bufferBinding;
attributeDescription.offset = attrib.offsetFromVertex;
attributeDescription.format = Vulkan::getVulkanVertexFormat(attrib.format);
attributeDescription.format = Vulkan::getVulkanVertexFormat(attrib.getFormat());
attributeDescriptions.push_back(attributeDescription);
}