diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e617fe317..54926db21c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -175,6 +175,7 @@ By @atlv24 in [#5383](https://github.com/gfx-rs/wgpu/pull/5383) #### Naga - In spv-out don't decorate a `BindingArray`'s type with `Block` if the type is a struct with a runtime array by @Vecvec in [#5776](https://github.com/gfx-rs/wgpu/pull/5776) +- Add `packed` as a keyword for GLSL by @kjarosh in [#5855](https://github.com/gfx-rs/wgpu/pull/5855) ## v0.20.0 (2024-04-28) diff --git a/naga/src/back/glsl/keywords.rs b/naga/src/back/glsl/keywords.rs index 857c935e68..47415c5158 100644 --- a/naga/src/back/glsl/keywords.rs +++ b/naga/src/back/glsl/keywords.rs @@ -473,6 +473,8 @@ pub const RESERVED_KEYWORDS: &[&str] = &[ "anyInvocation", "allInvocations", "allInvocationsEqual", + // Sometimes "packed" is a keyword, see https://github.com/gfx-rs/wgpu/issues/5853 + "packed", // // entry point name (should not be shadowed) //