From 21c527a45884b69972ed89cd87342030920f46e5 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 30 Sep 2024 16:39:49 -0700 Subject: [PATCH] [naga spv-out] Doc fix: typo --- naga/src/back/spv/block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/naga/src/back/spv/block.rs b/naga/src/back/spv/block.rs index 34d474aaf..abf914c63 100644 --- a/naga/src/back/spv/block.rs +++ b/naga/src/back/spv/block.rs @@ -1833,7 +1833,7 @@ impl<'w> BlockContext<'w> { let index_id = match self.write_bounds_check(base, index, block)? { BoundsCheckResult::KnownInBounds(known_index) => { - // Even if the index is known, `OpAccessIndex` + // Even if the index is known, `OpAccessChain` // requires expression operands, not literals. let scalar = crate::Literal::U32(known_index); self.writer.get_constant_scalar(scalar)