diff --git a/vulkan.d b/vulkan.d index 0d13b90..a699ec6 100644 --- a/vulkan.d +++ b/vulkan.d @@ -757,7 +757,7 @@ BeginRendering(Vulkan* vk) pragma(inline): void ResizeDrawImageIfNeeded(Vulkan* vk, ImageView* view) { - f32[2] ext = GetExtent(vk); + u32[2] ext = GetExtent(vk); if (view.w != ext[0] || view.h != ext[1]) { @@ -1883,7 +1883,7 @@ CreateComputePipeline(Vulkan* vk, CompPipelineInfo* comp_info) assert(BuildShader(vk, &comp_module, comp_info.shader), "Unable to build compute shader"); scope(exit) Destroy(vk, comp_module); - __traits(getMember, &info.stage, "module") = comp_module.value; + __traits(getMember, &info.stage, "module") = comp_module; VkSpecializationInfo spec_info = { dataSize: comp_info.spec.size,