adding image to image copy
All checks were successful
Build / build (push) Successful in 2m15s
Test / build_and_test (push) Successful in 54m45s

This commit is contained in:
2026-04-13 16:36:10 +02:00
parent d54c28dcaa
commit 95e8edabe0
4 changed files with 166 additions and 18 deletions

View File

@@ -86,3 +86,7 @@ pub inline fn sliceMemSize(format: vk.Format, width: usize, height: usize) usize
// To be updated for compressed formats handling
return pitchMemSize(format, width) * height;
}
pub inline fn isDepthAndStencil(format: vk.Format) bool {
return lib.vku.vkuFormatIsDepthAndStencil(@intCast(@intFromEnum(format)));
}