mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 17:05:31 +00:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user