We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89a0ebf commit b5b39f6Copy full SHA for b5b39f6
wgpu-core/src/validation.rs
@@ -915,15 +915,6 @@ impl Interface {
915
class,
916
},
917
naga::TypeInner::Sampler { comparison } => ResourceType::Sampler { comparison },
918
- naga::TypeInner::Array { stride, size, .. } => {
919
- let size = match size {
920
- naga::ArraySize::Constant(size) => size.get() * stride,
921
- naga::ArraySize::Dynamic => stride,
922
- };
923
- ResourceType::Buffer {
924
- size: wgt::BufferSize::new(size as u64).unwrap(),
925
- }
926
927
ref other => ResourceType::Buffer {
928
size: wgt::BufferSize::new(other.size(module.to_ctx()) as u64).unwrap(),
929
0 commit comments