gpu: add CommandEncoder.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
1b2ca96541
commit
e28959c1cf
2 changed files with 7 additions and 5 deletions
|
|
@ -1,6 +1,13 @@
|
|||
const ChainedStruct = @import("types.zig").ChainedStruct;
|
||||
|
||||
pub const CommandEncoder = enum(usize) {
|
||||
_,
|
||||
|
||||
// TODO: verify there is a use case for nullable value of this type.
|
||||
pub const none: CommandEncoder = @intToEnum(CommandEncoder, 0);
|
||||
|
||||
pub const Descriptor = struct {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
label: ?[*:0]const u8 = null,
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue