From 8394b10e6bee5f1b8166c006d181a03360cfb50f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 23:09:41 +0000 Subject: [PATCH] chore(deps): bump crate-ci/typos from 1.29.9 to 1.30.0 (#7259) * chore(deps): bump crate-ci/typos from 1.29.9 to 1.30.0 Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.29.9 to 1.30.0. - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](https://github.com/crate-ci/typos/compare/v1.29.9...v1.30.0) --- updated-dependencies: - dependency-name: crate-ci/typos dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Fix small typo Signed-off-by: Connor Fitzgerald --------- Signed-off-by: dependabot[bot] Signed-off-by: Connor Fitzgerald Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Connor Fitzgerald --- .github/workflows/ci.yml | 2 +- naga/src/back/wgsl/writer.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)); };