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
|
|
@ -35,7 +35,8 @@ pub const PrimitiveState = struct {
|
|||
cull_mode: CullMode,
|
||||
};
|
||||
|
||||
pub const StorageTextureBindingLayout = struct {
|
||||
pub const StorageTextureBindingLayout = extern struct {
|
||||
reserved: ?*anyopaque = null,
|
||||
access: StorageTextureAccess,
|
||||
format: Texture.Format,
|
||||
view_dimension: TextureView.Dimension,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue