diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed8997f8d2..93af27dc2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -736,7 +736,7 @@ jobs: run: taplo format --check --diff - name: Check for typos - uses: crate-ci/typos@v1.29.9 + uses: crate-ci/typos@v1.30.0 check-cts-runner: # runtime is normally 2 minutes diff --git a/naga/src/back/wgsl/writer.rs b/naga/src/back/wgsl/writer.rs index 4f69f2c6dc..b43dd99570 100644 --- a/naga/src/back/wgsl/writer.rs +++ b/naga/src/back/wgsl/writer.rs @@ -1791,9 +1791,9 @@ impl Writer { Mf::Unpack4xI8 => Function::Regular("unpack4xI8"), Mf::Unpack4xU8 => Function::Regular("unpack4xU8"), Mf::Inverse => { - let typ = func_ctx.resolve_type(arg, &module.types); + let ty = func_ctx.resolve_type(arg, &module.types); - let Some(overload) = InversePolyfill::find_overload(typ) else { + let Some(overload) = InversePolyfill::find_overload(ty) else { return Err(Error::UnsupportedMathFunction(fun)); };