From 22feee34a21ed0ab0fa1a7a5ff383ce01e1296b7 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 22 Nov 2025 18:27:04 +1100 Subject: [PATCH] add desc type to CreateBuffer --- vulkan.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vulkan.d b/vulkan.d index 7259ac0..5e51a04 100644 --- a/vulkan.d +++ b/vulkan.d @@ -564,7 +564,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) +CreateBuffer(Vulkan* vk, Descriptor* desc, BufferType type, u64 size, bool host_visible, DescType type) { desc.type = DT.Storage; CreateBuffer(vk, &desc.buf, type, size, host_visible);