gpu: add RenderBundle.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
727a329632
commit
e20d7f3b38
2 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue