gpu: add Queue.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
0eff9e1cb3
commit
8163a5876c
2 changed files with 7 additions and 5 deletions
|
|
@ -1,3 +1,5 @@
|
|||
const ChainedStruct = @import("types.zig").ChainedStruct;
|
||||
|
||||
pub const Queue = enum(usize) {
|
||||
_,
|
||||
|
||||
|
|
@ -10,4 +12,9 @@ pub const Queue = enum(usize) {
|
|||
unknown = 0x00000002,
|
||||
device_lost = 0x00000003,
|
||||
};
|
||||
|
||||
pub const Descriptor = extern struct {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
label: ?[*:0]const u8 = null,
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue