gpu: move DeviceLostReason -> Device.LostReason

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 15:52:05 -07:00 committed by Stephen Gutekanst
parent 7f173a0d19
commit 3b2dff540d
3 changed files with 6 additions and 9 deletions

View file

@ -88,6 +88,11 @@ pub const Descriptor = struct {
required_limits: ?Limits = null,
};
pub const LostReason = enum(u32) {
none = 0x00000000,
destroyed = 0x00000001,
};
test "syntax" {
_ = VTable;
_ = getQueue;
@ -97,4 +102,5 @@ test "syntax" {
_ = nativeCreateSwapChain;
_ = destroy;
_ = Descriptor;
_ = LostReason;
}