fixing crashes
Some checks failed
Build / build (push) Successful in 2m29s
Test / build_and_test (push) Failing after 45m9s

This commit is contained in:
2026-01-27 22:56:03 +01:00
parent f042daa896
commit 1f8415f1b2
8 changed files with 18 additions and 53 deletions

View File

@@ -741,6 +741,7 @@ pub export fn strollCreateComputePipelines(p_device: vk.Device, p_cache: vk.Pipe
defer entryPointEndLogTrace();
const allocator = VulkanAllocator.init(callbacks, .object).allocator();
const device = Dispatchable(Device).fromHandleObject(p_device) catch |err| return toVkResult(err);
const cache = if (p_cache == .null_handle) null else NonDispatchable(PipelineCache).fromHandleObject(p_cache) catch |err| return toVkResult(err);
@@ -772,6 +773,7 @@ pub export fn strollCreateComputePipelines(p_device: vk.Device, p_cache: vk.Pipe
global_res = local_res;
}
}
return global_res;
}