tests: Stop using the [[block]] attribute

This has been deprecated and will soon be removed.

Bug: tint:1324
Change-Id: If5dbbc3a40d7591591fb2802dbe9c8dd5f96d299
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/72087
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
James Price
2021-12-09 15:45:03 +00:00
parent 3530c6bf06
commit a5d3986a0a
629 changed files with 62 additions and 892 deletions

View File

@@ -1,13 +1,11 @@
type Arr = [[stride(4)]] array<i32, 8>;
[[block]]
struct In2 {
data_in2 : Arr;
};
type Arr_1 = [[stride(4)]] array<i32, 1024>;
[[block]]
struct Out0 {
data_out0 : Arr_1;
};
@@ -16,12 +14,10 @@ type Arr_2 = [[stride(4)]] array<i32, 512>;
type Arr_3 = [[stride(4)]] array<i32, 512>;
[[block]]
struct In1 {
data_in1 : Arr_3;
};
[[block]]
struct In0 {
data_in0 : Arr_3;
};