working on spirv debug
Build / build (push) Successful in 2m18s
Test / build_and_test (push) Failing after 1h22m47s

This commit is contained in:
2026-01-25 21:55:02 +01:00
parent 067db7a48a
commit b333f143b4
5 changed files with 50 additions and 11 deletions
+5 -8
View File
@@ -25,16 +25,11 @@ pub fn initCompute(device: *Device, allocator: std.mem.Allocator, cache: ?*Pipel
_ = allocator;
_ = cache;
var stages: vk.ShaderStageFlags = .{};
for (info.p_stages[0..info.stage_count]) |stage| {
stages = stages.merge(stage orelse continue);
}
return .{
.owner = device,
.vtable = undefined,
.bind_point = .compute,
.stages = stages,
.stages = info.stage.stage,
};
}
@@ -43,8 +38,10 @@ pub fn initGraphics(device: *Device, allocator: std.mem.Allocator, cache: ?*Pipe
_ = cache;
var stages: vk.ShaderStageFlags = .{};
for (info.p_stages[0..info.stage_count]) |stage| {
stages = stages.merge(stage orelse continue);
if (info.p_stages) |p_stages| {
for (p_stages[0..info.stage_count]) |stage| {
stages = stages.merge(stage.stage);
}
}
return .{