gpu: move BufferMapAsyncStatus -> Buffer.MapAsyncStatus
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
3761f37234
commit
7f173a0d19
2 changed files with 10 additions and 10 deletions
|
|
@ -55,6 +55,15 @@ pub const BindingLayout = struct {
|
|||
min_binding_size: u64,
|
||||
};
|
||||
|
||||
pub const MapAsyncStatus = enum(u32) {
|
||||
success = 0x00000000,
|
||||
err = 0x00000001,
|
||||
unknown = 0x00000002,
|
||||
device_lost = 0x00000003,
|
||||
destroyed_before_callback = 0x00000004,
|
||||
unmapped_before_callback = 0x00000005,
|
||||
};
|
||||
|
||||
test "syntax" {
|
||||
_ = VTable;
|
||||
_ = reference;
|
||||
|
|
@ -64,4 +73,5 @@ test "syntax" {
|
|||
_ = Descriptor;
|
||||
_ = BindingType;
|
||||
_ = BindingLayout;
|
||||
_ = MapAsyncStatus;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue