ci skip; start of update to zig 0.16
Build / build (push) Has been skipped
Test / build_and_test (push) Has been skipped

This commit is contained in:
2026-04-16 22:15:07 +02:00
parent ee0ffbe09d
commit 5be875c07e
15 changed files with 243 additions and 105 deletions
-9
View File
@@ -72,15 +72,6 @@ pub inline fn getMemoryRequirements(self: *Self, requirements: *vk.MemoryRequire
try self.vtable.getMemoryRequirements(self, requirements);
}
pub inline fn getClearFormat(self: *Self) vk.Format {
return if (lib.vku.vkuFormatIsSINT(@intCast(@intFromEnum(self.format))))
.r32g32b32a32_sint
else if (lib.vku.vkuFormatIsUINT(@intCast(@intFromEnum(self.format))))
.r32g32b32a32_uint
else
.r32g32b32a32_sfloat;
}
pub inline fn getTexelSize(self: *const Self) usize {
return lib.format.texelSize(self.format);
}