[Soft] removing SPIR-V interpreter fallback on IR interpreter fail
Mirror Gitea refs to GitHub / mirror (push) Successful in 20s
Test / build_and_test (push) Successful in 3m44s
Build / build (push) Successful in 5m1s

This commit is contained in:
2026-08-09 00:06:43 +02:00
parent f40e5b742d
commit e3e5fa4b18
16 changed files with 200 additions and 182 deletions
+1 -13
View File
@@ -3,7 +3,6 @@ const vk = @import("vulkan");
const base = @import("base");
const shader_ir = @import("shader_ir");
const bc = @import("bytecode.zig");
const Shader = @import("Shader.zig");
const SoftPipeline = @import("../SoftPipeline.zig");
const Renderer = @import("../device/Renderer.zig");
@@ -58,14 +57,7 @@ pub fn run(
}
}
fn populateInputs(
runtime: anytype,
program: *const @import("Program.zig"),
pipeline: *SoftPipeline,
draw_call: *Renderer.DrawCall,
vertex_index: u32,
instance_index: u32,
) VkError!void {
fn populateInputs(runtime: anytype, program: *const @import("Program.zig"), pipeline: *SoftPipeline, draw_call: *Renderer.DrawCall, vertex_index: u32, instance_index: u32) VkError!void {
for (program.interfaces, 0..) |optional_binding, index| {
const binding = optional_binding orelse continue;
if (binding.direction != .input)
@@ -167,7 +159,3 @@ fn findBinding(bindings: []const vk.VertexInputBindingDescription, binding: u32)
if (description.binding == binding) return description;
return null;
}
comptime {
_ = bc;
}