gpu: add Queue.WorkDoneStatus enum

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-11 07:58:20 -07:00 committed by Stephen Gutekanst
parent 9b1bee04fd
commit 9f6a3f119a
2 changed files with 7 additions and 8 deletions

View file

@ -1 +1,8 @@
ptr: *anyopaque,
pub const WorkDoneStatus = enum(u32) {
success = 0x00000000,
err = 0x00000001,
unknown = 0x00000002,
device_lost = 0x00000003,
};