mirror of
https://github.com/storytold/wgpu.git
synced 2026-12-01 02:24:35 +01:00
Implement TEXTURE_BINDING_ARRAY extension
This commit is contained in:
1 parent
7b866b1a1b
commit
f8be38cc01
16 files changed
+419
-190
No files matched your search
@@ -139,6 +139,7 @@ impl framework::Example for Example {
|
||||
binding: 0,
|
||||
visibility: wgpu::ShaderStage::VERTEX,
|
||||
ty: wgpu::BindingType::UniformBuffer { dynamic: false },
|
||||
..Default::default()
|
||||
},
|
||||
wgpu::BindGroupLayoutEntry {
|
||||
binding: 1,
|
||||
@@ -148,11 +149,13 @@ impl framework::Example for Example {
|
||||
component_type: wgpu::TextureComponentType::Float,
|
||||
dimension: wgpu::TextureViewDimension::D2,
|
||||
},
|
||||
..Default::default()
|
||||
},
|
||||
wgpu::BindGroupLayoutEntry {
|
||||
binding: 2,
|
||||
visibility: wgpu::ShaderStage::FRAGMENT,
|
||||
ty: wgpu::BindingType::Sampler { comparison: false },
|
||||
..Default::default()
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user