gpu: move BufferBindingLayout -> Buffer.BindingLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
84c532156e
commit
3761f37234
2 changed files with 7 additions and 7 deletions
|
|
@ -49,6 +49,12 @@ pub const BindingType = enum(u32) {
|
|||
read_only_storage = 0x00000003,
|
||||
};
|
||||
|
||||
pub const BindingLayout = struct {
|
||||
type: BindingType,
|
||||
has_dynamic_offset: bool,
|
||||
min_binding_size: u64,
|
||||
};
|
||||
|
||||
test "syntax" {
|
||||
_ = VTable;
|
||||
_ = reference;
|
||||
|
|
@ -57,4 +63,5 @@ test "syntax" {
|
|||
_ = setLabel;
|
||||
_ = Descriptor;
|
||||
_ = BindingType;
|
||||
_ = BindingLayout;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,12 +17,6 @@ pub const BindGroupEntry = struct {
|
|||
texture_view: TextureView,
|
||||
};
|
||||
|
||||
pub const BufferBindingLayout = struct {
|
||||
type: Buffer.BindingType,
|
||||
has_dynamic_offset: bool,
|
||||
min_binding_size: u64,
|
||||
};
|
||||
|
||||
pub const CompilationMessage = struct {
|
||||
message: [:0]const u8,
|
||||
type: CompilationMessageType,
|
||||
|
|
@ -47,7 +41,6 @@ pub const PrimitiveState = struct {
|
|||
|
||||
test "syntax" {
|
||||
_ = BindGroupEntry;
|
||||
_ = BufferBindingLayout;
|
||||
_ = CompilationMessage;
|
||||
_ = MultisampleState;
|
||||
_ = PrimitiveState;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue