mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-04-15 21:46:37 +00:00
[naga tests] Silence dead code warning. (#7457)
Silence warnings about `DummyInterpolationShader::entry_point` being unused in test builds with `wgsl-in` feature but without the `glsl-out` feature.
This commit is contained in:
parent
3d7ae9dc92
commit
65fcacf683
@ -472,6 +472,7 @@ mod dummy_interpolation_shader {
|
||||
pub source: String,
|
||||
pub module: naga::Module,
|
||||
pub interpolate_attr: String,
|
||||
#[cfg_attr(not(feature = "glsl-out"), expect(dead_code))]
|
||||
pub entry_point: &'static str,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user