mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 13:38:00 +00:00
wgsl: make if/switch parentheses optional
Fixed: tint:1424 Change-Id: Id135c74fbbba941cce7fb96970d3c23417bc14ec Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/84340 Kokoro: Kokoro <noreply+kokoro@google.com> Auto-Submit: James Price <jrprice@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Tint LUCI CQ
parent
e07c40af14
commit
d9d08aecf4
@@ -2,6 +2,10 @@
|
||||
|
||||
## Changes for M102
|
||||
|
||||
### New Features
|
||||
|
||||
* Parentheses are no longer required around expressions for if and switch statements [tint:1424](crbug.com/tint/1424)
|
||||
|
||||
### Breaking changes
|
||||
|
||||
* The `@block` attribute has been removed. [tint:1324](crbug.com/tint/1324)
|
||||
|
||||
Reference in New Issue
Block a user