mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 22:41:07 +01: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:
1 parent
3d7ae9dc92
commit
65fcacf683
1 file changed
+1
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user