gpu: move DeviceLostReason -> Device.LostReason
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
7f173a0d19
commit
3b2dff540d
3 changed files with 6 additions and 9 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue