gpu: add Buffer.BindingType enum

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-10 21:59:31 -07:00 committed by Stephen Gutekanst
parent 97b21c8ac8
commit 87b06cf373
2 changed files with 7 additions and 8 deletions

View file

@ -1 +1,8 @@
ptr: *anyopaque,
pub const BindingType = enum(u32) {
undef = 0x00000000,
uniform = 0x00000001,
storage = 0x00000002,
read_only_storage = 0x00000003,
};