mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
fix(naga): Fix compilation error when glsl-in enabled in isolation (#10297)
This commit is contained in:
1 parent
c2b227eeef
commit
aed6771a20
2 files changed
+6
-1
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user