adding manual Vk 1.4 CTS CI
This commit is contained in:
14
build.zig
14
build.zig
@@ -247,7 +247,21 @@ fn addMultithreadedCTS(b: *std.Build, target: std.Build.ResolvedTarget, impl: *c
|
||||
},
|
||||
}));
|
||||
|
||||
const mustpass_override = blk: {
|
||||
if (b.args) |args| {
|
||||
for (args) |arg| {
|
||||
if (std.mem.startsWith(u8, arg, "--mustpass-list")) {
|
||||
break :blk arg["--mustpass-list=".len..];
|
||||
}
|
||||
}
|
||||
}
|
||||
break :blk null;
|
||||
};
|
||||
|
||||
const mustpass_path = try cts.path(
|
||||
if (mustpass_override) |override|
|
||||
b.fmt("mustpass/{s}/vk-default.txt", .{override})
|
||||
else
|
||||
b.fmt("mustpass/{}.{}.2/vk-default.txt", .{
|
||||
impl.vulkan_version.major,
|
||||
impl.vulkan_version.minor,
|
||||
|
||||
Reference in New Issue
Block a user