Skip to content

Commit f60e279

Browse files
renovate[bot]ErichDonGubler
authored andcommitted
chore(deps): update crate-ci/typos action to v1.45.0
1 parent 3a8b7ea commit f60e279

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
@@ -91,6 +91,7 @@ Bottom level categories:
9191
- 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).
9292
- Fixed handling of unterminated block comments. By @BKDaugherty in [#9356](https://github.com/gfx-rs/wgpu/pull/9356).
9393
- Enforce that `@must_use` appear only on function declarations. By @dnsn021 in [#9367](https://github.com/gfx-rs/wgpu/pull/9367).
94+
- Rename `naga::back::msl::Error::UnsupportedWriteable*` to `UnsupportedWritable*` (a typo fix). By @ErichDonGubler in [#9376](https://github.com/gfx-rs/wgpu/pull/9376).
9495

9596
#### dx12
9697

naga/src/back/msl/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,10 @@ pub enum Error {
218218
UnsupportedAttribute(String),
219219
#[error("function '{0}' is not supported for target MSL version")]
220220
UnsupportedFunction(String),
221-
#[error("can not use writeable storage buffers in fragment stage prior to MSL 1.2")]
222-
UnsupportedWriteableStorageBuffer,
223-
#[error("can not use writeable storage textures in {0:?} stage prior to MSL 1.2")]
224-
UnsupportedWriteableStorageTexture(ir::ShaderStage),
221+
#[error("can not use writable storage buffers in fragment stage prior to MSL 1.2")]
222+
UnsupportedWritableStorageBuffer,
223+
#[error("can not use writable storage textures in {0:?} stage prior to MSL 1.2")]
224+
UnsupportedWritableStorageTexture(ir::ShaderStage),
225225
#[error("can not use read-write storage textures prior to MSL 1.2")]
226226
UnsupportedRWStorageTexture,
227227
#[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
@@ -7376,7 +7376,7 @@ template <typename A>
73767376
if access.contains(crate::StorageAccess::STORE)
73777377
&& ep.stage == crate::ShaderStage::Fragment =>
73787378
{
7379-
return Err(Error::UnsupportedWriteableStorageBuffer)
7379+
return Err(Error::UnsupportedWritableStorageBuffer)
73807380
}
73817381
crate::AddressSpace::Handle => {
73827382
match module.types[var.ty].inner {
@@ -7397,7 +7397,7 @@ template <typename A>
73977397
&& (ep.stage == crate::ShaderStage::Vertex
73987398
|| ep.stage == crate::ShaderStage::Fragment)
73997399
{
7400-
return Err(Error::UnsupportedWriteableStorageTexture(
7400+
return Err(Error::UnsupportedWritableStorageTexture(
74017401
ep.stage,
74027402
));
74037403
}

0 commit comments

Comments
 (0)