You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ir] Validate attribute subgroup_size in IR validator
This patch adds the attribute `subgroup_size` and all the related
validation in Tint IR validator.
- `subgroup_size` must be a constant or override expression
- `subgroup_size` must be `i32` or `u32`.
- `subgroup_size` must be greater than 0.
- `subgroup_size` must be a power of 2.
Bug: 463721943
Change-Id: I9de573e6253de3f66d0ee4809674d5f49881671a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/280415
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Shao, Jiawei <jiawei.shao@intel.com>
0 commit comments