Fix a couple typos (#6713)

This commit is contained in:
atlv
2024-12-12 01:05:08 -05:00
committed by GitHub
parent 727992e844
commit 28a3e97dde
2 changed files with 2 additions and 2 deletions

View File

@@ -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"

View File

@@ -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