diff --git a/.gitea/workflows/Test.yml b/.gitea/workflows/Test.yml index 1bc554e..83a4d22 100644 --- a/.gitea/workflows/Test.yml +++ b/.gitea/workflows/Test.yml @@ -61,7 +61,7 @@ jobs: which deqp-runner && deqp-runner --version || echo "deqp-runner not found" - name: Run Vulkan CTS - run: zig build cts-soft --release=fast -Ddebug-allocator=true -- -j3 + run: zig build cts-soft --release=fast -Ddebug-allocator=true -- -j4 continue-on-error: true - name: Verify tests diff --git a/build.zig.zon b/build.zig.zon index cc3e06c..281c612 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -31,8 +31,8 @@ .lazy = true, }, .SPIRV_Interpreter = .{ - .url = "git+https://git.kbz8.me/kbz_8/SPIRV-Interpreter#5faf8fd30548f8bd96a18568fb21de698db64ca8", - .hash = "SPIRV_Interpreter-0.0.1-ajmpn_crBQAl1X8EYgNQjoTn_3XZ1DDOBCZMpfyD6MTu", + .url = "git+https://git.kbz8.me/kbz_8/SPIRV-Interpreter#4e852b5c07b7a3f70f9c361c873514eb70f73152", + .hash = "SPIRV_Interpreter-0.0.1-ajmpn_krBQAuTc6YvvzArCbZ8kl-58RIIjcHosa3OsZ-", .lazy = true, }, //.SPIRV_Interpreter = .{ diff --git a/src/soft/SoftDevice.zig b/src/soft/SoftDevice.zig index bef1fa6..cce585b 100644 --- a/src/soft/SoftDevice.zig +++ b/src/soft/SoftDevice.zig @@ -95,7 +95,7 @@ pub fn destroy(interface: *Interface, allocator: std.mem.Allocator) VkError!void // All device memory allocations should've been freed by now const leaks = self.device_allocator.detectLeaks(); if (leaks != 0) - std.log.scoped(.vkDestroyDevice).err("Device was destroyed leaking {d}KB", .{@divTrunc(leaks, 1000)}) + std.log.scoped(.vkDestroyDevice).err("Device was destroyed leaking {d:.3}KB", .{@as(f32, @floatFromInt(leaks)) / 1000}) else std.log.scoped(.vkDestroyDevice).debug("No device memory leaks detected", .{}); self.device_allocator.deinitWithoutLeakChecks();