gpu: move BufferBindingType -> Buffer.BindingType
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
2e68792f0d
commit
84c532156e
4 changed files with 9 additions and 11 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue