gpu: implement Device.createBindGroupLayout

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-18 14:55:51 -07:00 committed by Stephen Gutekanst
parent 8588a08e05
commit d635bee216
6 changed files with 63 additions and 11 deletions

View file

@ -187,7 +187,8 @@ pub const SampleType = enum(u32) {
uint = 0x00000005,
};
pub const BindingLayout = struct {
pub const BindingLayout = extern struct {
reserved: ?*anyopaque = null,
sample_type: SampleType,
view_dimension: TextureView.Dimension,
multisampled: bool,