gpu: add RenderBundle.Descriptor

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 14:20:53 -07:00 committed by Stephen Gutekanst
parent 727a329632
commit e20d7f3b38
2 changed files with 5 additions and 5 deletions

View file

@ -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;
}

View file

@ -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;