diff --git a/gpu/src/RenderBundle.zig b/gpu/src/RenderBundle.zig index 01b3ff1a..3ba8e288 100644 --- a/gpu/src/RenderBundle.zig +++ b/gpu/src/RenderBundle.zig @@ -22,8 +22,13 @@ pub inline fn setLabel(bundle: RenderBundle, label: [:0]const u8) void { bundle.vtable.setLabel(bundle.ptr, label); } +pub const Descriptor = struct { + label: ?[*:0]const u8 = null, +}; + test "syntax" { _ = VTable; _ = reference; _ = release; + _ = Descriptor; } diff --git a/gpu/src/TODO b/gpu/src/TODO index 822e4158..7c9eee16 100644 --- a/gpu/src/TODO +++ b/gpu/src/TODO @@ -75,11 +75,6 @@ typedef struct WGPUQuerySetDescriptor { uint32_t pipelineStatisticsCount; } WGPUQuerySetDescriptor; -typedef struct WGPURenderBundleDescriptor { - WGPUChainedStruct const * nextInChain; - char const * label; -} WGPURenderBundleDescriptor; - typedef struct WGPURenderBundleEncoderDescriptor { WGPUChainedStruct const * nextInChain; char const * label;