adding unsupported descriptor kinds
Build / build (push) Successful in 1m57s
Test / build_and_test (push) Successful in 47m3s

This commit is contained in:
2026-04-04 23:43:45 +02:00
parent 6f6f2e6ab2
commit 3717fb3790
2 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -22,6 +22,7 @@ const DescriptorBuffer = struct {
const Descriptor = union(enum) {
buffer: []DescriptorBuffer,
image: struct {},
unsupported: struct {},
};
interface: Interface,
@@ -113,6 +114,9 @@ pub fn write(interface: *Interface, write_data: vk.WriteDescriptorSet) VkError!v
}
}
},
else => base.unsupported("descriptor type {s} for writting", .{@tagName(write_data.descriptor_type)}),
else => {
self.descriptors[write_data.dst_binding] = .{ .unsupported = .{} };
base.unsupported("descriptor type {s} for writting", .{@tagName(write_data.descriptor_type)});
},
}
}