adding descriptor writes for storage buffers
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
+11
View File
@@ -22,6 +22,7 @@ pub fn create(device: *base.Device, allocator: std.mem.Allocator, info: *const v
interface.dispatch_table = &.{
.begin = begin,
.bindPipeline = bindPipeline,
.clearColorImage = clearColorImage,
.copyBuffer = copyBuffer,
.copyImage = copyImage,
@@ -64,6 +65,16 @@ pub fn reset(interface: *Interface, flags: vk.CommandBufferResetFlags) VkError!v
// Commands ====================================================================================================
pub fn bindPipeline(interface: *Interface, bind_point: vk.PipelineBindPoint, pipeline: *base.Pipeline) VkError!void {
_ = interface;
_ = pipeline;
if (bind_point != .graphics and bind_point != .compute) {
std.log.warn("Software driver does not support bind point {s}", .{@tagName(bind_point)});
return VkError.ValidationFailed;
}
}
pub fn clearColorImage(interface: *Interface, image: *base.Image, layout: vk.ImageLayout, color: *const vk.ClearColorValue, range: vk.ImageSubresourceRange) VkError!void {
// No-op
_ = interface;