fixing all image operation tests
Test / build_and_test (push) Successful in 26s
Build / build (push) Successful in 1m3s

This commit is contained in:
2026-06-01 22:13:43 +02:00
parent 19c8d84e05
commit 6dc82d4a68
14 changed files with 514 additions and 132 deletions
+10 -1
View File
@@ -11,6 +11,11 @@ const Self = @This();
pub const ObjectType: vk.ObjectType = .sampler;
owner: *Device,
mag_filter: vk.Filter,
min_filter: vk.Filter,
address_mode_u: vk.SamplerAddressMode,
address_mode_v: vk.SamplerAddressMode,
address_mode_w: vk.SamplerAddressMode,
vtable: *const VTable,
@@ -20,9 +25,13 @@ pub const VTable = struct {
pub fn init(device: *Device, allocator: std.mem.Allocator, info: *const vk.SamplerCreateInfo) VkError!Self {
_ = allocator;
_ = info;
return .{
.owner = device,
.mag_filter = info.mag_filter,
.min_filter = info.min_filter,
.address_mode_u = info.address_mode_u,
.address_mode_v = info.address_mode_v,
.address_mode_w = info.address_mode_w,
.vtable = undefined,
};
}