| commit | 01e4b6fc18c26c52f3da0799bca87a08444dca65 | [log] [tgz] |
|---|---|---|
| author | Ben Clayton <bclayton@google.com> | Wed Jan 19 22:46:57 2022 +0000 |
| committer | Tint LUCI CQ <tint-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 19 22:46:57 2022 +0000 |
| tree | d66e5f9eb70fe3de8ca02fe77391d21619a6b021 | |
| parent | 8f1d5224ee3928aa1d99d389a1b3329248c61d46 [diff] [blame] |
wgsl: Replace [[decoration]] with @decoration Deprecate the old syntax. Migrate everything to the new syntax. Bug: tint:1382 Change-Id: Ide12b2e927b17dc93b9714c7049090864cc568d3 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/77260 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com> Commit-Queue: David Neto <dneto@google.com>
diff --git a/test/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.wgsl b/test/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.wgsl index 0ee891d..0f1c0bb 100644 --- a/test/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.wgsl +++ b/test/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.wgsl
@@ -6,15 +6,15 @@ v1 : vec2<f32>; }; -type Arr = [[stride(16)]] array<i32, 5>; +type Arr = @stride(16) array<i32, 5>; struct buf0 { x_GLF_uniform_int_values : Arr; }; -[[group(0), binding(1)]] var<uniform> x_8 : buf1; +@group(0) @binding(1) var<uniform> x_8 : buf1; -[[group(0), binding(0)]] var<uniform> x_10 : buf0; +@group(0) @binding(0) var<uniform> x_10 : buf0; var<private> x_GLF_color : vec4<f32>; @@ -153,11 +153,11 @@ } struct main_out { - [[location(0)]] + @location(0) x_GLF_color_1 : vec4<f32>; }; -[[stage(fragment)]] +@stage(fragment) fn main() -> main_out { main_1(); return main_out(x_GLF_color);