aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv.zig
diff options
context:
space:
mode:
authorsobolevn <mail@sobolevn.me>2024-07-20 20:23:18 +0300
committersobolevn <mail@sobolevn.me>2024-07-20 20:23:18 +0300
commit4c71d3f29e99d5fc4e69d842457933dc55fc7ac5 (patch)
treecdaf83ab99f822398e48eb19985d47544136db07 /src/codegen/spirv.zig
parentef3a746da1a85a8b4a653cb78e0464c71d35b64e (diff)
downloadzig-4c71d3f29e99d5fc4e69d842457933dc55fc7ac5.tar.gz
zig-4c71d3f29e99d5fc4e69d842457933dc55fc7ac5.zip
Fix typos in code comments in `src/`
Diffstat (limited to 'src/codegen/spirv.zig')
-rw-r--r--src/codegen/spirv.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/spirv.zig b/src/codegen/spirv.zig
index bd14c7a03b..23911c4fbf 100644
--- a/src/codegen/spirv.zig
+++ b/src/codegen/spirv.zig
@@ -3845,7 +3845,7 @@ const DeclGen = struct {
const result = try self.normalize(low_bits, info);
// Now, we need to check the overflow bits AND the sign
- // bit for the expceted overflow bits.
+ // bit for the expected overflow bits.
// To do that, shift out everything bit the sign bit and
// then check what remains.
const shift = Temporary.init(full_result.ty, try self.constInt(full_result.ty, info.bits - 1, .direct));