From 28a3e97dde5322ffb6c23ae4cfa69d981ba51ac0 Mon Sep 17 00:00:00 2001 From: atlv Date: Thu, 12 Dec 2024 01:05:08 -0500 Subject: [PATCH] Fix a couple typos (#6713) --- naga/Cargo.toml | 2 +- naga/src/back/glsl/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/naga/Cargo.toml b/naga/Cargo.toml index 1e2bde7133..3e534b4268 100644 --- a/naga/Cargo.toml +++ b/naga/Cargo.toml @@ -3,7 +3,7 @@ name = "naga" version = "23.0.0" authors = ["gfx-rs developers"] edition = "2021" -description = "Shader translator of validator. Part of the wgpu project" +description = "Shader translator and validator. Part of the wgpu project" repository = "https://github.com/gfx-rs/wgpu/tree/trunk/naga" keywords = ["shader", "SPIR-V", "GLSL", "MSL"] license = "MIT OR Apache-2.0" diff --git a/naga/src/back/glsl/mod.rs b/naga/src/back/glsl/mod.rs index 4cd60fc3cc..e34127b3a1 100644 --- a/naga/src/back/glsl/mod.rs +++ b/naga/src/back/glsl/mod.rs @@ -4097,7 +4097,7 @@ impl<'a, W: Write> Writer<'a, W> { ) -> Result<(), Error> { use crate::ImageDimension as IDim; - // NOTE: openGL requires that `imageStore`s have no effets when the texel is invalid + // NOTE: openGL requires that `imageStore`s have no effects when the texel is invalid // so we don't need to generate bounds checks (OpenGL 4.2 Core ยง3.9.20) // This will only panic if the module is invalid