gpu: add Device.LostReason enum

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-11 06:40:46 -07:00 committed by Stephen Gutekanst
parent 089eb3bdda
commit 27c4b2a548
3 changed files with 6 additions and 7 deletions

View file

@ -1 +1,6 @@
ptr: *anyopaque,
pub const LostReason = enum(u32) {
undef = 0x00000000,
destroyed = 0x00000001,
};