From c0cf20179a4b1a9795b8774317a4d581d6693d87 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 22 Nov 2025 18:27:53 +1100 Subject: [PATCH] actually set type --- vulkan.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vulkan.d b/vulkan.d index 5e51a04..293c3bd 100644 --- a/vulkan.d +++ b/vulkan.d @@ -566,7 +566,7 @@ CreatePipelineLayout(T)(Vulkan* vk, T layouts, u32 push_const_size, bool compute void CreateBuffer(Vulkan* vk, Descriptor* desc, BufferType type, u64 size, bool host_visible, DescType type) { - desc.type = DT.Storage; + desc.type = type; CreateBuffer(vk, &desc.buf, type, size, host_visible); }