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,
|
read_only_storage = 0x00000003,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub const BindingLayout = struct {
|
||||||
|
type: BindingType,
|
||||||
|
has_dynamic_offset: bool,
|
||||||
|
min_binding_size: u64,
|
||||||
|
};
|
||||||
|
|
||||||
test "syntax" {
|
test "syntax" {
|
||||||
_ = VTable;
|
_ = VTable;
|
||||||
_ = reference;
|
_ = reference;
|
||||||
|
|
@ -57,4 +63,5 @@ test "syntax" {
|
||||||
_ = setLabel;
|
_ = setLabel;
|
||||||
_ = Descriptor;
|
_ = Descriptor;
|
||||||
_ = BindingType;
|
_ = BindingType;
|
||||||
|
_ = BindingLayout;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,12 +17,6 @@ pub const BindGroupEntry = struct {
|
||||||
texture_view: TextureView,
|
texture_view: TextureView,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const BufferBindingLayout = struct {
|
|
||||||
type: Buffer.BindingType,
|
|
||||||
has_dynamic_offset: bool,
|
|
||||||
min_binding_size: u64,
|
|
||||||
};
|
|
||||||
|
|
||||||
pub const CompilationMessage = struct {
|
pub const CompilationMessage = struct {
|
||||||
message: [:0]const u8,
|
message: [:0]const u8,
|
||||||
type: CompilationMessageType,
|
type: CompilationMessageType,
|
||||||
|
|
@ -47,7 +41,6 @@ pub const PrimitiveState = struct {
|
||||||
|
|
||||||
test "syntax" {
|
test "syntax" {
|
||||||
_ = BindGroupEntry;
|
_ = BindGroupEntry;
|
||||||
_ = BufferBindingLayout;
|
|
||||||
_ = CompilationMessage;
|
_ = CompilationMessage;
|
||||||
_ = MultisampleState;
|
_ = MultisampleState;
|
||||||
_ = PrimitiveState;
|
_ = PrimitiveState;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue