diff options
| author | vimene <vincent.menegaux@gmail.com> | 2025-12-28 17:34:59 +0100 |
|---|---|---|
| committer | vimene <vincent.menegaux@gmail.com> | 2025-12-28 17:34:59 +0100 |
| commit | dd187445972989dc44428e8cf185964da9e5c0c4 (patch) | |
| tree | 17e23c6bdce4dd686bac2d373243bce99849eb29 /src/vulkan_utils.hpp | |
| parent | 8874f4f4c6f95c2db7654c769e7747b3e3cf863a (diff) | |
| download | engine-dd187445972989dc44428e8cf185964da9e5c0c4.tar.gz | |
added depth buffer
Diffstat (limited to 'src/vulkan_utils.hpp')
| -rw-r--r-- | src/vulkan_utils.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; }; |
