Skip to content

Commit 6635e4d

Browse files
renovate[bot]Wumpf
andauthored
chore(deps): update crate-ci/typos action to v1.45.0 (gfx-rs#9376)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andreas Reich <[email protected]>
1 parent b5bd5ae commit 6635e4d

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ jobs:
819819
run: taplo format --check --diff
820820

821821
- name: Check for typos
822-
uses: crate-ci/typos@v1.44.0
822+
uses: crate-ci/typos@v1.45.0
823823

824824
check-cts-runner:
825825
# runtime is normally 2 minutes

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Bottom level categories:
9393
- Disallow direct access to atomic variables in WGSL front-end (e.g. `let x = myAtomic;`). By @ecoricemon in [#9262](https://github.com/gfx-rs/wgpu/pull/9262).
9494
- Fixed handling of unterminated block comments. By @BKDaugherty in [#9356](https://github.com/gfx-rs/wgpu/pull/9356).
9595
- Enforce that `@must_use` appear only on function declarations. By @dnsn021 in [#9367](https://github.com/gfx-rs/wgpu/pull/9367).
96+
- Fix typo in `naga::back::msl::Error::UnsupportedWritable*` variant names. By @ErichDonGubler in [#9376](https://github.com/gfx-rs/wgpu/pull/9376).
9697

9798
#### dx12
9899

naga/src/back/msl/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,10 @@ pub enum Error {
220220
UnsupportedAttribute(String),
221221
#[error("function '{0}' is not supported for target MSL version")]
222222
UnsupportedFunction(String),
223-
#[error("can not use writeable storage buffers in fragment stage prior to MSL 1.2")]
224-
UnsupportedWriteableStorageBuffer,
225-
#[error("can not use writeable storage textures in {0:?} stage prior to MSL 1.2")]
226-
UnsupportedWriteableStorageTexture(ir::ShaderStage),
223+
#[error("can not use writable storage buffers in fragment stage prior to MSL 1.2")]
224+
UnsupportedWritableStorageBuffer,
225+
#[error("can not use writable storage textures in {0:?} stage prior to MSL 1.2")]
226+
UnsupportedWritableStorageTexture(ir::ShaderStage),
227227
#[error("can not use read-write storage textures prior to MSL 1.2")]
228228
UnsupportedRWStorageTexture,
229229
#[error("array of '{0}' is not supported for target MSL version")]

naga/src/back/msl/writer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7454,7 +7454,7 @@ template <typename A>
74547454
if access.contains(crate::StorageAccess::STORE)
74557455
&& ep.stage == crate::ShaderStage::Fragment =>
74567456
{
7457-
return Err(Error::UnsupportedWriteableStorageBuffer)
7457+
return Err(Error::UnsupportedWritableStorageBuffer)
74587458
}
74597459
crate::AddressSpace::Handle => {
74607460
match module.types[var.ty].inner {
@@ -7475,7 +7475,7 @@ template <typename A>
74757475
&& (ep.stage == crate::ShaderStage::Vertex
74767476
|| ep.stage == crate::ShaderStage::Fragment)
74777477
{
7478-
return Err(Error::UnsupportedWriteableStorageTexture(
7478+
return Err(Error::UnsupportedWritableStorageTexture(
74797479
ep.stage,
74807480
));
74817481
}

0 commit comments

Comments
 (0)