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

@@ -53,7 +53,7 @@ namespace dawn_native {
let kBaseVertexEntry = 3u;
let kFirstInstanceEntry = 4u;
[[block]] struct BatchInfo {
struct BatchInfo {
numIndexBufferElementsLow: u32;
numIndexBufferElementsHigh: u32;
numDraws: u32;
@@ -61,7 +61,7 @@ namespace dawn_native {
indirectOffsets: array<u32>;
};
[[block]] struct IndirectParams {
struct IndirectParams {
data: array<u32>;
};