adding unsupported descriptor kinds
All checks were successful
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

View File

@@ -59,8 +59,8 @@
.lazy = true,
},
.SPIRV_Interpreter = .{
.url = "git+https://git.kbz8.me/kbz_8/SPIRV-Interpreter#a83a761afa45d8223c20110b8aee68c98271f531",
.hash = "SPIRV_Interpreter-0.0.1-ajmpn3p4BADxJRmBtTxMRKcAWxGLNgSNrwZ8yeybEOjW",
.url = "git+https://git.kbz8.me/kbz_8/SPIRV-Interpreter#85e0fe4362e3425a0d3142b873f0e8d9cca40fc6",
.hash = "SPIRV_Interpreter-0.0.1-ajmpnwF9BAAAb2kR9WjfMH0h3kOjhGICGfdId_4lomVD",
},
},

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)});
},
}
}