gpu: move BufferMapAsyncStatus -> Buffer.MapAsyncStatus

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 15:50:31 -07:00 committed by Stephen Gutekanst
parent 3761f37234
commit 7f173a0d19
2 changed files with 10 additions and 10 deletions

View file

@ -57,15 +57,6 @@ pub const BlendOperation = enum(u32) {
max = 0x00000004,
};
pub const BufferMapAsyncStatus = enum(u32) {
success = 0x00000000,
err = 0x00000001,
unknown = 0x00000002,
device_lost = 0x00000003,
destroyed_before_callback = 0x00000004,
unmapped_before_callback = 0x00000005,
};
pub const CompareFunction = enum(u32) {
none = 0x00000000,
never = 0x00000001,
@ -343,7 +334,6 @@ test "syntax" {
_ = AlphaMode;
_ = BlendFactor;
_ = BlendOperation;
_ = BufferMapAsyncStatus;
_ = CompareFunction;
_ = CompilationInfoRequestStatus;
_ = CompilationMessageType;