We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b04cae6 commit 659f697Copy full SHA for 659f697
CHANGELOG.md
@@ -42,6 +42,20 @@ Bottom level categories:
42
43
### Major Changes
44
45
+
46
+#### WGSL Top-Level `let` is now `const`
47
48
+All top level constants are now declared with `const`, catching up with the wgsl spec.
49
50
+`let` is no longer allowed at the global scope, only within functions.
51
52
+```diff
53
+-let SOME_CONSTANT = 12.0;
54
++const SOME_CONSTANT = 12.0;
55
+```
56
57
+See https://github.com/gfx-rs/naga/blob/master/CHANGELOG.md#v011-2023-01-25 for smaller shader improvements.
58
59
#### Surface Capabilities API
60
61
The various surface capability functions were combined into a single call that gives you all the capabilities.
0 commit comments