mach/gpu/src/Queue.zig
Stephen Gutekanst c3cc9d5ae2 gpu: add TODOs regarding nullability
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 00:43:43 -07:00

13 lines
337 B
Zig

pub const Queue = enum(usize) {
_,
// TODO: verify there is a use case for nullable value of this type.
pub const none: Queue = @intToEnum(Queue, 0);
pub const WorkDoneStatus = enum(u32) {
success = 0x00000000,
err = 0x00000001,
unknown = 0x00000002,
device_lost = 0x00000003,
};
};