From 6150c8239fc751cd138bef7acbab1f0e224ab69b Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 3 Aug 2026 01:54:52 -0700 Subject: [PATCH] [core]: Delete unused field `EntryPoint::spec_constants`. (#9983) --- wgpu-core/src/validation.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/wgpu-core/src/validation.rs b/wgpu-core/src/validation.rs index 1ea7e922e..aabfb2984 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,