mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
[core]: Delete unused field EntryPoint::spec_constants. (#9983)
This commit is contained in:
1 parent
a05a2b27d4
commit
6150c8239f
1 file changed
-9
@@ -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<Varying>,
|
||||
outputs: Vec<Varying>,
|
||||
resources: Vec<naga::Handle<Resource>>,
|
||||
#[allow(unused)]
|
||||
spec_constants: Vec<SpecializationConstant>,
|
||||
sampling_pairs: FastHashSet<(naga::Handle<Resource>, naga::Handle<Resource>)>,
|
||||
workgroup_size: [u32; 3],
|
||||
dual_source_blending: bool,
|
||||
|
||||
Reference in new issue
Block a user