fix(naga): Fix compilation error when glsl-in enabled in isolation (#10297)

This commit is contained in:
Andy Leiserson authored and GitHub committed 2026-09-09 16:00:02 +00:00
1 parent c2b227eeef
commit aed6771a20
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -367,6 +367,11 @@ jobs:
cargo --locked clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} -p wgpu-hal --no-default-features --features metal
cargo --locked clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} -p wgpu-hal --no-default-features --features dx12
# Check important naga features in isolation
for feature in glsl-in glsl-out hlsl-out msl-out spv-in spv-out wgsl-in wgsl-out; do
cargo --locked clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} -p naga --no-default-features --features $feature
done
# build docs
cargo --locked doc --target ${{ matrix.target }} ${{ matrix.extra-flags }} --all-features --no-deps
+1 -1
View File
@@ -2,7 +2,7 @@
Frontend parsers that consume binary and text shaders and load them into [`Module`](super::Module)s.
*/
#[cfg(any(feature = "spv-in", feature = "wgsl-in"))]
#[cfg(any(feature = "glsl-in", feature = "spv-in", feature = "wgsl-in"))]
pub(crate) mod interpolator;
mod type_gen;