gpu: add Buffer.MapAsyncStatus
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
87b06cf373
commit
19425d4f86
2 changed files with 9 additions and 10 deletions
|
|
@ -6,3 +6,12 @@ pub const BindingType = enum(u32) {
|
|||
storage = 0x00000002,
|
||||
read_only_storage = 0x00000003,
|
||||
};
|
||||
|
||||
pub const MapAsyncStatus = enum(u32) {
|
||||
success = 0x00000000,
|
||||
err = 0x00000001,
|
||||
unknown = 0x00000002,
|
||||
device_lost = 0x00000003,
|
||||
destroyed_before_callback = 0x00000004,
|
||||
unmapped_before_callback = 0x00000005,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue