mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Add naga section in changelog
This commit is contained in:
14
CHANGELOG.md
14
CHANGELOG.md
@@ -42,6 +42,20 @@ Bottom level categories:
|
||||
|
||||
### Major Changes
|
||||
|
||||
|
||||
#### WGSL Top-Level `let` is now `const`
|
||||
|
||||
All top level constants are now declared with `const`, catching up with the wgsl spec.
|
||||
|
||||
`let` is no longer allowed at the global scope, only within functions.
|
||||
|
||||
```diff
|
||||
-let SOME_CONSTANT = 12.0;
|
||||
+const SOME_CONSTANT = 12.0;
|
||||
```
|
||||
|
||||
See https://github.com/gfx-rs/naga/blob/master/CHANGELOG.md#v011-2023-01-25 for smaller shader improvements.
|
||||
|
||||
#### Surface Capabilities API
|
||||
|
||||
The various surface capability functions were combined into a single call that gives you all the capabilities.
|
||||
|
||||
Reference in New Issue
Block a user