From dd187445972989dc44428e8cf185964da9e5c0c4 Mon Sep 17 00:00:00 2001 From: vimene Date: Sun, 28 Dec 2025 17:34:59 +0100 Subject: added depth buffer --- src/vulkan_utils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vulkan_utils.hpp') diff --git a/src/vulkan_utils.hpp b/src/vulkan_utils.hpp index 99fd912..1647e91 100644 --- a/src/vulkan_utils.hpp +++ b/src/vulkan_utils.hpp @@ -44,7 +44,7 @@ struct Vertex { VkVertexInputAttributeDescription { .location = 0, .binding = 0, - .format = VK_FORMAT_R32G32_SFLOAT, + .format = VK_FORMAT_R32G32B32_SFLOAT, .offset = offsetof(Vertex, pos), }, VkVertexInputAttributeDescription { @@ -62,7 +62,7 @@ struct Vertex { }; } - engine::math::Vector2 pos; + engine::math::Vector3 pos; engine::math::Vector3 col; engine::math::Vector2 uv; }; -- cgit v1.2.3