mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-30 01:54:31 +01:00
Validate sampler type in create_bind_group
This commit is contained in:
1 parent
d7d0fd5dfe
commit
69b41dc0d3
4 files changed
+107
-45
No files matched your search
+2
-1
@@ -301,7 +301,8 @@ impl GlobalExt for wgc::hub::Global<IdentityPassThroughFactory> {
|
||||
bindings: &entry_vec,
|
||||
},
|
||||
id,
|
||||
);
|
||||
)
|
||||
.unwrap();
|
||||
}
|
||||
A::DestroyBindGroup(id) => {
|
||||
self.bind_group_destroy::<B>(id);
|
||||
|
||||
Reference in new issue
Block a user