diff --git a/wgpu-core/src/validation.rs b/wgpu-core/src/validation.rs index 2f83fc46e64..9525b299b3b 100644 --- a/wgpu-core/src/validation.rs +++ b/wgpu-core/src/validation.rs @@ -268,13 +268,6 @@ impl BuiltIn { } } -#[allow(unused)] -#[derive(Debug)] -struct SpecializationConstant { - id: u32, - ty: NumericType, -} - #[derive(Debug)] struct EntryPointMeshInfo { max_vertices: u32, @@ -287,8 +280,6 @@ struct EntryPoint { inputs: Vec, outputs: Vec, resources: Vec>, - #[allow(unused)] - spec_constants: Vec, sampling_pairs: FastHashSet<(naga::Handle, naga::Handle)>, workgroup_size: [u32; 3], dual_source_blending: bool,