(hopefully) the final change

This commit is contained in:
Matthew 2025-08-16 09:33:30 +10:00
parent 28da849e44
commit fce5f7ee8f

View File

@ -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,