adding descriptor writes for storage buffers
All checks were successful
Build / build (push) Successful in 1m14s
Test / build_and_test (push) Successful in 2h18m31s

This commit is contained in:
2026-02-18 01:46:57 +01:00
parent b9ef230c0e
commit a95e57bd5e
9 changed files with 121 additions and 18 deletions

29
src/soft/device/ComputeRoutines.zig git.filemode.normal_file
View File

@@ -0,0 +1,29 @@
const std = @import("std");
const vk = @import("vulkan");
const base = @import("base");
const spv = @import("spv");
const SoftDevice = @import("../SoftDevice.zig");
const SoftPipeline = @import("../SoftPipeline.zig");
const VkError = base.VkError;
const Self = @This();
device: *SoftDevice,
pipeline: ?*SoftPipeline,
pub fn init(device: *SoftDevice) Self {
return .{
.device = device,
.pipeline = null,
};
}
pub fn destroy(self: *Self) void {
_ = self;
}
pub fn bindPipeline(self: *Self, pipeline: *SoftPipeline) void {
self.pipeline = pipeline;
}