gpu: translate constants
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
919499327e
commit
32a26d8f12
2 changed files with 10 additions and 9 deletions
10
gpu/src/main.zig
Normal file
10
gpu/src/main.zig
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
const std = @import("std");
|
||||
|
||||
pub const array_layer_count_undefined = 0xffffffff;
|
||||
pub const copy_stride_undefined = 0xffffffff;
|
||||
pub const limit_u32_undefined = 0xffffffff;
|
||||
pub const limit_u64_undefined = 0xffffffffffffffff;
|
||||
pub const mip_level_count_undefined = 0xffffffff;
|
||||
pub const stride_undefined = 0xffffffff;
|
||||
pub const whole_map_size = std.math.maxInt(usize);
|
||||
pub const whole_size = 0xffffffffffffffff;
|
||||
Loading…
Add table
Add a link
Reference in a new issue