adding unsupported descriptor kinds
This commit is contained in:
@@ -59,8 +59,8 @@
|
|||||||
.lazy = true,
|
.lazy = true,
|
||||||
},
|
},
|
||||||
.SPIRV_Interpreter = .{
|
.SPIRV_Interpreter = .{
|
||||||
.url = "git+https://git.kbz8.me/kbz_8/SPIRV-Interpreter#a83a761afa45d8223c20110b8aee68c98271f531",
|
.url = "git+https://git.kbz8.me/kbz_8/SPIRV-Interpreter#85e0fe4362e3425a0d3142b873f0e8d9cca40fc6",
|
||||||
.hash = "SPIRV_Interpreter-0.0.1-ajmpn3p4BADxJRmBtTxMRKcAWxGLNgSNrwZ8yeybEOjW",
|
.hash = "SPIRV_Interpreter-0.0.1-ajmpnwF9BAAAb2kR9WjfMH0h3kOjhGICGfdId_4lomVD",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ const DescriptorBuffer = struct {
|
|||||||
const Descriptor = union(enum) {
|
const Descriptor = union(enum) {
|
||||||
buffer: []DescriptorBuffer,
|
buffer: []DescriptorBuffer,
|
||||||
image: struct {},
|
image: struct {},
|
||||||
|
unsupported: struct {},
|
||||||
};
|
};
|
||||||
|
|
||||||
interface: Interface,
|
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)});
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user