gpu: implement Device.createBindGroupLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8588a08e05
commit
d635bee216
6 changed files with 63 additions and 11 deletions
|
|
@ -92,7 +92,8 @@ pub const BindingType = enum(u32) {
|
|||
read_only_storage = 0x00000003,
|
||||
};
|
||||
|
||||
pub const BindingLayout = struct {
|
||||
pub const BindingLayout = extern struct {
|
||||
reserved: ?*anyopaque = null,
|
||||
type: BindingType,
|
||||
has_dynamic_offset: bool,
|
||||
min_binding_size: u64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue