gpu: move BufferBindingType -> Buffer.BindingType

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 15:47:34 -07:00 committed by Stephen Gutekanst
parent 2e68792f0d
commit 84c532156e
4 changed files with 9 additions and 11 deletions

View file

@ -42,6 +42,13 @@ pub const Descriptor = struct {
mapped_at_creation: bool,
};
pub const BindingType = enum(u32) {
none = 0x00000000,
uniform = 0x00000001,
storage = 0x00000002,
read_only_storage = 0x00000003,
};
test "syntax" {
_ = VTable;
_ = reference;
@ -49,4 +56,5 @@ test "syntax" {
_ = destroy;
_ = setLabel;
_ = Descriptor;
_ = BindingType;
}