Remove [[block]] attribute from all shaders

This has been removed from WGSL and is now deprecated in Tint.

Bug: tint:1324
Change-Id: Ic187ce3c5ce0723db6f3ca6483e9f5e73ce27acc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72880
Auto-Submit: James Price <jrprice@google.com>
Reviewed-by: Corentin Wallez <cwallez@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
James Price
2021-12-15 13:13:26 +00:00
committed by Dawn LUCI CQ
parent 16ae3b8b95
commit d4f8c39f52
47 changed files with 165 additions and 165 deletions

View File

@@ -58,7 +58,7 @@ void init() {
640, 480);
wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"(
[[block]] struct Constants {
struct Constants {
scale : f32;
time : f32;
offsetX : f32;