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); }