mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 07:06:11 +00:00
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>
This commit is contained in:
committed by
Tint LUCI CQ
parent
8f1d5224ee
commit
01e4b6fc18
@@ -1,6 +1,6 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_depth_2d;
|
||||
@group(0) @binding(0) var t_f : texture_depth_2d;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_depth_2d;
|
||||
@group(0) @binding(0) var t_f : texture_depth_2d;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_depth_2d_array;
|
||||
@group(0) @binding(0) var t_f : texture_depth_2d_array;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_depth_2d_array;
|
||||
@group(0) @binding(0) var t_f : texture_depth_2d_array;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_depth_cube;
|
||||
@group(0) @binding(0) var t_f : texture_depth_cube;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_depth_cube;
|
||||
@group(0) @binding(0) var t_f : texture_depth_cube;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_depth_cube_array;
|
||||
@group(0) @binding(0) var t_f : texture_depth_cube_array;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_depth_cube_array;
|
||||
@group(0) @binding(0) var t_f : texture_depth_cube_array;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_multisampled_2d<f32>;
|
||||
[[group(0), binding(1)]] var t_i : texture_multisampled_2d<i32>;
|
||||
[[group(0), binding(2)]] var t_u : texture_multisampled_2d<u32>;
|
||||
@group(0) @binding(0) var t_f : texture_multisampled_2d<f32>;
|
||||
@group(0) @binding(1) var t_i : texture_multisampled_2d<i32>;
|
||||
@group(0) @binding(2) var t_u : texture_multisampled_2d<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_multisampled_2d<f32>;
|
||||
@group(0) @binding(0) var t_f : texture_multisampled_2d<f32>;
|
||||
|
||||
[[group(0), binding(1)]] var t_i : texture_multisampled_2d<i32>;
|
||||
@group(0) @binding(1) var t_i : texture_multisampled_2d<i32>;
|
||||
|
||||
[[group(0), binding(2)]] var t_u : texture_multisampled_2d<u32>;
|
||||
@group(0) @binding(2) var t_u : texture_multisampled_2d<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_1d<f32>;
|
||||
[[group(0), binding(1)]] var t_i : texture_1d<i32>;
|
||||
[[group(0), binding(2)]] var t_u : texture_1d<u32>;
|
||||
@group(0) @binding(0) var t_f : texture_1d<f32>;
|
||||
@group(0) @binding(1) var t_i : texture_1d<i32>;
|
||||
@group(0) @binding(2) var t_u : texture_1d<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_1d<f32>;
|
||||
@group(0) @binding(0) var t_f : texture_1d<f32>;
|
||||
|
||||
[[group(0), binding(1)]] var t_i : texture_1d<i32>;
|
||||
@group(0) @binding(1) var t_i : texture_1d<i32>;
|
||||
|
||||
[[group(0), binding(2)]] var t_u : texture_1d<u32>;
|
||||
@group(0) @binding(2) var t_u : texture_1d<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_2d<f32>;
|
||||
[[group(0), binding(1)]] var t_i : texture_2d<i32>;
|
||||
[[group(0), binding(2)]] var t_u : texture_2d<u32>;
|
||||
@group(0) @binding(0) var t_f : texture_2d<f32>;
|
||||
@group(0) @binding(1) var t_i : texture_2d<i32>;
|
||||
@group(0) @binding(2) var t_u : texture_2d<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_2d<f32>;
|
||||
@group(0) @binding(0) var t_f : texture_2d<f32>;
|
||||
|
||||
[[group(0), binding(1)]] var t_i : texture_2d<i32>;
|
||||
@group(0) @binding(1) var t_i : texture_2d<i32>;
|
||||
|
||||
[[group(0), binding(2)]] var t_u : texture_2d<u32>;
|
||||
@group(0) @binding(2) var t_u : texture_2d<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_2d_array<f32>;
|
||||
[[group(0), binding(1)]] var t_i : texture_2d_array<i32>;
|
||||
[[group(0), binding(2)]] var t_u : texture_2d_array<u32>;
|
||||
@group(0) @binding(0) var t_f : texture_2d_array<f32>;
|
||||
@group(0) @binding(1) var t_i : texture_2d_array<i32>;
|
||||
@group(0) @binding(2) var t_u : texture_2d_array<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_2d_array<f32>;
|
||||
@group(0) @binding(0) var t_f : texture_2d_array<f32>;
|
||||
|
||||
[[group(0), binding(1)]] var t_i : texture_2d_array<i32>;
|
||||
@group(0) @binding(1) var t_i : texture_2d_array<i32>;
|
||||
|
||||
[[group(0), binding(2)]] var t_u : texture_2d_array<u32>;
|
||||
@group(0) @binding(2) var t_u : texture_2d_array<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_3d<f32>;
|
||||
[[group(0), binding(1)]] var t_i : texture_3d<i32>;
|
||||
[[group(0), binding(2)]] var t_u : texture_3d<u32>;
|
||||
@group(0) @binding(0) var t_f : texture_3d<f32>;
|
||||
@group(0) @binding(1) var t_i : texture_3d<i32>;
|
||||
@group(0) @binding(2) var t_u : texture_3d<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_3d<f32>;
|
||||
@group(0) @binding(0) var t_f : texture_3d<f32>;
|
||||
|
||||
[[group(0), binding(1)]] var t_i : texture_3d<i32>;
|
||||
@group(0) @binding(1) var t_i : texture_3d<i32>;
|
||||
|
||||
[[group(0), binding(2)]] var t_u : texture_3d<u32>;
|
||||
@group(0) @binding(2) var t_u : texture_3d<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_cube<f32>;
|
||||
[[group(0), binding(1)]] var t_i : texture_cube<i32>;
|
||||
[[group(0), binding(2)]] var t_u : texture_cube<u32>;
|
||||
@group(0) @binding(0) var t_f : texture_cube<f32>;
|
||||
@group(0) @binding(1) var t_i : texture_cube<i32>;
|
||||
@group(0) @binding(2) var t_u : texture_cube<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_cube<f32>;
|
||||
@group(0) @binding(0) var t_f : texture_cube<f32>;
|
||||
|
||||
[[group(0), binding(1)]] var t_i : texture_cube<i32>;
|
||||
@group(0) @binding(1) var t_i : texture_cube<i32>;
|
||||
|
||||
[[group(0), binding(2)]] var t_u : texture_cube<u32>;
|
||||
@group(0) @binding(2) var t_u : texture_cube<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_cube_array<f32>;
|
||||
[[group(0), binding(1)]] var t_i : texture_cube_array<i32>;
|
||||
[[group(0), binding(2)]] var t_u : texture_cube_array<u32>;
|
||||
@group(0) @binding(0) var t_f : texture_cube_array<f32>;
|
||||
@group(0) @binding(1) var t_i : texture_cube_array<i32>;
|
||||
@group(0) @binding(2) var t_u : texture_cube_array<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
[[group(0), binding(0)]] var t_f : texture_cube_array<f32>;
|
||||
@group(0) @binding(0) var t_f : texture_cube_array<f32>;
|
||||
|
||||
[[group(0), binding(1)]] var t_i : texture_cube_array<i32>;
|
||||
@group(0) @binding(1) var t_i : texture_cube_array<i32>;
|
||||
|
||||
[[group(0), binding(2)]] var t_u : texture_cube_array<u32>;
|
||||
@group(0) @binding(2) var t_u : texture_cube_array<u32>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_f;
|
||||
_ = t_i;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(0), binding(0)]] var t_rgba8unorm : texture_storage_1d<rgba8unorm, write>;
|
||||
[[group(0), binding(1)]] var t_rgba8snorm : texture_storage_1d<rgba8snorm, write>;
|
||||
[[group(0), binding(2)]] var t_rgba8uint : texture_storage_1d<rgba8uint, write>;
|
||||
[[group(0), binding(3)]] var t_rgba8sint : texture_storage_1d<rgba8sint, write>;
|
||||
[[group(0), binding(4)]] var t_rgba16uint : texture_storage_1d<rgba16uint, write>;
|
||||
[[group(0), binding(5)]] var t_rgba16sint : texture_storage_1d<rgba16sint, write>;
|
||||
[[group(0), binding(6)]] var t_rgba16float : texture_storage_1d<rgba16float, write>;
|
||||
[[group(0), binding(7)]] var t_r32uint : texture_storage_1d<r32uint, write>;
|
||||
[[group(0), binding(8)]] var t_r32sint : texture_storage_1d<r32sint, write>;
|
||||
[[group(0), binding(9)]] var t_r32float : texture_storage_1d<r32float, write>;
|
||||
[[group(0), binding(10)]] var t_rg32uint : texture_storage_1d<rg32uint, write>;
|
||||
[[group(0), binding(11)]] var t_rg32sint : texture_storage_1d<rg32sint, write>;
|
||||
[[group(0), binding(12)]] var t_rg32float : texture_storage_1d<rg32float, write>;
|
||||
[[group(0), binding(13)]] var t_rgba32uint : texture_storage_1d<rgba32uint, write>;
|
||||
[[group(0), binding(14)]] var t_rgba32sint : texture_storage_1d<rgba32sint, write>;
|
||||
[[group(0), binding(15)]] var t_rgba32float : texture_storage_1d<rgba32float, write>;
|
||||
@group(0) @binding(0) var t_rgba8unorm : texture_storage_1d<rgba8unorm, write>;
|
||||
@group(0) @binding(1) var t_rgba8snorm : texture_storage_1d<rgba8snorm, write>;
|
||||
@group(0) @binding(2) var t_rgba8uint : texture_storage_1d<rgba8uint, write>;
|
||||
@group(0) @binding(3) var t_rgba8sint : texture_storage_1d<rgba8sint, write>;
|
||||
@group(0) @binding(4) var t_rgba16uint : texture_storage_1d<rgba16uint, write>;
|
||||
@group(0) @binding(5) var t_rgba16sint : texture_storage_1d<rgba16sint, write>;
|
||||
@group(0) @binding(6) var t_rgba16float : texture_storage_1d<rgba16float, write>;
|
||||
@group(0) @binding(7) var t_r32uint : texture_storage_1d<r32uint, write>;
|
||||
@group(0) @binding(8) var t_r32sint : texture_storage_1d<r32sint, write>;
|
||||
@group(0) @binding(9) var t_r32float : texture_storage_1d<r32float, write>;
|
||||
@group(0) @binding(10) var t_rg32uint : texture_storage_1d<rg32uint, write>;
|
||||
@group(0) @binding(11) var t_rg32sint : texture_storage_1d<rg32sint, write>;
|
||||
@group(0) @binding(12) var t_rg32float : texture_storage_1d<rg32float, write>;
|
||||
@group(0) @binding(13) var t_rgba32uint : texture_storage_1d<rgba32uint, write>;
|
||||
@group(0) @binding(14) var t_rgba32sint : texture_storage_1d<rgba32sint, write>;
|
||||
@group(0) @binding(15) var t_rgba32float : texture_storage_1d<rgba32float, write>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
[[group(0), binding(0)]] var t_rgba8unorm : texture_storage_1d<rgba8unorm, write>;
|
||||
@group(0) @binding(0) var t_rgba8unorm : texture_storage_1d<rgba8unorm, write>;
|
||||
|
||||
[[group(0), binding(1)]] var t_rgba8snorm : texture_storage_1d<rgba8snorm, write>;
|
||||
@group(0) @binding(1) var t_rgba8snorm : texture_storage_1d<rgba8snorm, write>;
|
||||
|
||||
[[group(0), binding(2)]] var t_rgba8uint : texture_storage_1d<rgba8uint, write>;
|
||||
@group(0) @binding(2) var t_rgba8uint : texture_storage_1d<rgba8uint, write>;
|
||||
|
||||
[[group(0), binding(3)]] var t_rgba8sint : texture_storage_1d<rgba8sint, write>;
|
||||
@group(0) @binding(3) var t_rgba8sint : texture_storage_1d<rgba8sint, write>;
|
||||
|
||||
[[group(0), binding(4)]] var t_rgba16uint : texture_storage_1d<rgba16uint, write>;
|
||||
@group(0) @binding(4) var t_rgba16uint : texture_storage_1d<rgba16uint, write>;
|
||||
|
||||
[[group(0), binding(5)]] var t_rgba16sint : texture_storage_1d<rgba16sint, write>;
|
||||
@group(0) @binding(5) var t_rgba16sint : texture_storage_1d<rgba16sint, write>;
|
||||
|
||||
[[group(0), binding(6)]] var t_rgba16float : texture_storage_1d<rgba16float, write>;
|
||||
@group(0) @binding(6) var t_rgba16float : texture_storage_1d<rgba16float, write>;
|
||||
|
||||
[[group(0), binding(7)]] var t_r32uint : texture_storage_1d<r32uint, write>;
|
||||
@group(0) @binding(7) var t_r32uint : texture_storage_1d<r32uint, write>;
|
||||
|
||||
[[group(0), binding(8)]] var t_r32sint : texture_storage_1d<r32sint, write>;
|
||||
@group(0) @binding(8) var t_r32sint : texture_storage_1d<r32sint, write>;
|
||||
|
||||
[[group(0), binding(9)]] var t_r32float : texture_storage_1d<r32float, write>;
|
||||
@group(0) @binding(9) var t_r32float : texture_storage_1d<r32float, write>;
|
||||
|
||||
[[group(0), binding(10)]] var t_rg32uint : texture_storage_1d<rg32uint, write>;
|
||||
@group(0) @binding(10) var t_rg32uint : texture_storage_1d<rg32uint, write>;
|
||||
|
||||
[[group(0), binding(11)]] var t_rg32sint : texture_storage_1d<rg32sint, write>;
|
||||
@group(0) @binding(11) var t_rg32sint : texture_storage_1d<rg32sint, write>;
|
||||
|
||||
[[group(0), binding(12)]] var t_rg32float : texture_storage_1d<rg32float, write>;
|
||||
@group(0) @binding(12) var t_rg32float : texture_storage_1d<rg32float, write>;
|
||||
|
||||
[[group(0), binding(13)]] var t_rgba32uint : texture_storage_1d<rgba32uint, write>;
|
||||
@group(0) @binding(13) var t_rgba32uint : texture_storage_1d<rgba32uint, write>;
|
||||
|
||||
[[group(0), binding(14)]] var t_rgba32sint : texture_storage_1d<rgba32sint, write>;
|
||||
@group(0) @binding(14) var t_rgba32sint : texture_storage_1d<rgba32sint, write>;
|
||||
|
||||
[[group(0), binding(15)]] var t_rgba32float : texture_storage_1d<rgba32float, write>;
|
||||
@group(0) @binding(15) var t_rgba32float : texture_storage_1d<rgba32float, write>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(0), binding(0)]] var t_rgba8unorm : texture_storage_2d<rgba8unorm, write>;
|
||||
[[group(0), binding(1)]] var t_rgba8snorm : texture_storage_2d<rgba8snorm, write>;
|
||||
[[group(0), binding(2)]] var t_rgba8uint : texture_storage_2d<rgba8uint, write>;
|
||||
[[group(0), binding(3)]] var t_rgba8sint : texture_storage_2d<rgba8sint, write>;
|
||||
[[group(0), binding(4)]] var t_rgba16uint : texture_storage_2d<rgba16uint, write>;
|
||||
[[group(0), binding(5)]] var t_rgba16sint : texture_storage_2d<rgba16sint, write>;
|
||||
[[group(0), binding(6)]] var t_rgba16float : texture_storage_2d<rgba16float, write>;
|
||||
[[group(0), binding(7)]] var t_r32uint : texture_storage_2d<r32uint, write>;
|
||||
[[group(0), binding(8)]] var t_r32sint : texture_storage_2d<r32sint, write>;
|
||||
[[group(0), binding(9)]] var t_r32float : texture_storage_2d<r32float, write>;
|
||||
[[group(0), binding(10)]] var t_rg32uint : texture_storage_2d<rg32uint, write>;
|
||||
[[group(0), binding(11)]] var t_rg32sint : texture_storage_2d<rg32sint, write>;
|
||||
[[group(0), binding(12)]] var t_rg32float : texture_storage_2d<rg32float, write>;
|
||||
[[group(0), binding(13)]] var t_rgba32uint : texture_storage_2d<rgba32uint, write>;
|
||||
[[group(0), binding(14)]] var t_rgba32sint : texture_storage_2d<rgba32sint, write>;
|
||||
[[group(0), binding(15)]] var t_rgba32float : texture_storage_2d<rgba32float, write>;
|
||||
@group(0) @binding(0) var t_rgba8unorm : texture_storage_2d<rgba8unorm, write>;
|
||||
@group(0) @binding(1) var t_rgba8snorm : texture_storage_2d<rgba8snorm, write>;
|
||||
@group(0) @binding(2) var t_rgba8uint : texture_storage_2d<rgba8uint, write>;
|
||||
@group(0) @binding(3) var t_rgba8sint : texture_storage_2d<rgba8sint, write>;
|
||||
@group(0) @binding(4) var t_rgba16uint : texture_storage_2d<rgba16uint, write>;
|
||||
@group(0) @binding(5) var t_rgba16sint : texture_storage_2d<rgba16sint, write>;
|
||||
@group(0) @binding(6) var t_rgba16float : texture_storage_2d<rgba16float, write>;
|
||||
@group(0) @binding(7) var t_r32uint : texture_storage_2d<r32uint, write>;
|
||||
@group(0) @binding(8) var t_r32sint : texture_storage_2d<r32sint, write>;
|
||||
@group(0) @binding(9) var t_r32float : texture_storage_2d<r32float, write>;
|
||||
@group(0) @binding(10) var t_rg32uint : texture_storage_2d<rg32uint, write>;
|
||||
@group(0) @binding(11) var t_rg32sint : texture_storage_2d<rg32sint, write>;
|
||||
@group(0) @binding(12) var t_rg32float : texture_storage_2d<rg32float, write>;
|
||||
@group(0) @binding(13) var t_rgba32uint : texture_storage_2d<rgba32uint, write>;
|
||||
@group(0) @binding(14) var t_rgba32sint : texture_storage_2d<rgba32sint, write>;
|
||||
@group(0) @binding(15) var t_rgba32float : texture_storage_2d<rgba32float, write>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
[[group(0), binding(0)]] var t_rgba8unorm : texture_storage_2d<rgba8unorm, write>;
|
||||
@group(0) @binding(0) var t_rgba8unorm : texture_storage_2d<rgba8unorm, write>;
|
||||
|
||||
[[group(0), binding(1)]] var t_rgba8snorm : texture_storage_2d<rgba8snorm, write>;
|
||||
@group(0) @binding(1) var t_rgba8snorm : texture_storage_2d<rgba8snorm, write>;
|
||||
|
||||
[[group(0), binding(2)]] var t_rgba8uint : texture_storage_2d<rgba8uint, write>;
|
||||
@group(0) @binding(2) var t_rgba8uint : texture_storage_2d<rgba8uint, write>;
|
||||
|
||||
[[group(0), binding(3)]] var t_rgba8sint : texture_storage_2d<rgba8sint, write>;
|
||||
@group(0) @binding(3) var t_rgba8sint : texture_storage_2d<rgba8sint, write>;
|
||||
|
||||
[[group(0), binding(4)]] var t_rgba16uint : texture_storage_2d<rgba16uint, write>;
|
||||
@group(0) @binding(4) var t_rgba16uint : texture_storage_2d<rgba16uint, write>;
|
||||
|
||||
[[group(0), binding(5)]] var t_rgba16sint : texture_storage_2d<rgba16sint, write>;
|
||||
@group(0) @binding(5) var t_rgba16sint : texture_storage_2d<rgba16sint, write>;
|
||||
|
||||
[[group(0), binding(6)]] var t_rgba16float : texture_storage_2d<rgba16float, write>;
|
||||
@group(0) @binding(6) var t_rgba16float : texture_storage_2d<rgba16float, write>;
|
||||
|
||||
[[group(0), binding(7)]] var t_r32uint : texture_storage_2d<r32uint, write>;
|
||||
@group(0) @binding(7) var t_r32uint : texture_storage_2d<r32uint, write>;
|
||||
|
||||
[[group(0), binding(8)]] var t_r32sint : texture_storage_2d<r32sint, write>;
|
||||
@group(0) @binding(8) var t_r32sint : texture_storage_2d<r32sint, write>;
|
||||
|
||||
[[group(0), binding(9)]] var t_r32float : texture_storage_2d<r32float, write>;
|
||||
@group(0) @binding(9) var t_r32float : texture_storage_2d<r32float, write>;
|
||||
|
||||
[[group(0), binding(10)]] var t_rg32uint : texture_storage_2d<rg32uint, write>;
|
||||
@group(0) @binding(10) var t_rg32uint : texture_storage_2d<rg32uint, write>;
|
||||
|
||||
[[group(0), binding(11)]] var t_rg32sint : texture_storage_2d<rg32sint, write>;
|
||||
@group(0) @binding(11) var t_rg32sint : texture_storage_2d<rg32sint, write>;
|
||||
|
||||
[[group(0), binding(12)]] var t_rg32float : texture_storage_2d<rg32float, write>;
|
||||
@group(0) @binding(12) var t_rg32float : texture_storage_2d<rg32float, write>;
|
||||
|
||||
[[group(0), binding(13)]] var t_rgba32uint : texture_storage_2d<rgba32uint, write>;
|
||||
@group(0) @binding(13) var t_rgba32uint : texture_storage_2d<rgba32uint, write>;
|
||||
|
||||
[[group(0), binding(14)]] var t_rgba32sint : texture_storage_2d<rgba32sint, write>;
|
||||
@group(0) @binding(14) var t_rgba32sint : texture_storage_2d<rgba32sint, write>;
|
||||
|
||||
[[group(0), binding(15)]] var t_rgba32float : texture_storage_2d<rgba32float, write>;
|
||||
@group(0) @binding(15) var t_rgba32float : texture_storage_2d<rgba32float, write>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(0), binding(0)]] var t_rgba8unorm : texture_storage_2d_array<rgba8unorm, write>;
|
||||
[[group(0), binding(1)]] var t_rgba8snorm : texture_storage_2d_array<rgba8snorm, write>;
|
||||
[[group(0), binding(2)]] var t_rgba8uint : texture_storage_2d_array<rgba8uint, write>;
|
||||
[[group(0), binding(3)]] var t_rgba8sint : texture_storage_2d_array<rgba8sint, write>;
|
||||
[[group(0), binding(4)]] var t_rgba16uint : texture_storage_2d_array<rgba16uint, write>;
|
||||
[[group(0), binding(5)]] var t_rgba16sint : texture_storage_2d_array<rgba16sint, write>;
|
||||
[[group(0), binding(6)]] var t_rgba16float : texture_storage_2d_array<rgba16float, write>;
|
||||
[[group(0), binding(7)]] var t_r32uint : texture_storage_2d_array<r32uint, write>;
|
||||
[[group(0), binding(8)]] var t_r32sint : texture_storage_2d_array<r32sint, write>;
|
||||
[[group(0), binding(9)]] var t_r32float : texture_storage_2d_array<r32float, write>;
|
||||
[[group(0), binding(10)]] var t_rg32uint : texture_storage_2d_array<rg32uint, write>;
|
||||
[[group(0), binding(11)]] var t_rg32sint : texture_storage_2d_array<rg32sint, write>;
|
||||
[[group(0), binding(12)]] var t_rg32float : texture_storage_2d_array<rg32float, write>;
|
||||
[[group(0), binding(13)]] var t_rgba32uint : texture_storage_2d_array<rgba32uint, write>;
|
||||
[[group(0), binding(14)]] var t_rgba32sint : texture_storage_2d_array<rgba32sint, write>;
|
||||
[[group(0), binding(15)]] var t_rgba32float : texture_storage_2d_array<rgba32float, write>;
|
||||
@group(0) @binding(0) var t_rgba8unorm : texture_storage_2d_array<rgba8unorm, write>;
|
||||
@group(0) @binding(1) var t_rgba8snorm : texture_storage_2d_array<rgba8snorm, write>;
|
||||
@group(0) @binding(2) var t_rgba8uint : texture_storage_2d_array<rgba8uint, write>;
|
||||
@group(0) @binding(3) var t_rgba8sint : texture_storage_2d_array<rgba8sint, write>;
|
||||
@group(0) @binding(4) var t_rgba16uint : texture_storage_2d_array<rgba16uint, write>;
|
||||
@group(0) @binding(5) var t_rgba16sint : texture_storage_2d_array<rgba16sint, write>;
|
||||
@group(0) @binding(6) var t_rgba16float : texture_storage_2d_array<rgba16float, write>;
|
||||
@group(0) @binding(7) var t_r32uint : texture_storage_2d_array<r32uint, write>;
|
||||
@group(0) @binding(8) var t_r32sint : texture_storage_2d_array<r32sint, write>;
|
||||
@group(0) @binding(9) var t_r32float : texture_storage_2d_array<r32float, write>;
|
||||
@group(0) @binding(10) var t_rg32uint : texture_storage_2d_array<rg32uint, write>;
|
||||
@group(0) @binding(11) var t_rg32sint : texture_storage_2d_array<rg32sint, write>;
|
||||
@group(0) @binding(12) var t_rg32float : texture_storage_2d_array<rg32float, write>;
|
||||
@group(0) @binding(13) var t_rgba32uint : texture_storage_2d_array<rgba32uint, write>;
|
||||
@group(0) @binding(14) var t_rgba32sint : texture_storage_2d_array<rgba32sint, write>;
|
||||
@group(0) @binding(15) var t_rgba32float : texture_storage_2d_array<rgba32float, write>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
[[group(0), binding(0)]] var t_rgba8unorm : texture_storage_2d_array<rgba8unorm, write>;
|
||||
@group(0) @binding(0) var t_rgba8unorm : texture_storage_2d_array<rgba8unorm, write>;
|
||||
|
||||
[[group(0), binding(1)]] var t_rgba8snorm : texture_storage_2d_array<rgba8snorm, write>;
|
||||
@group(0) @binding(1) var t_rgba8snorm : texture_storage_2d_array<rgba8snorm, write>;
|
||||
|
||||
[[group(0), binding(2)]] var t_rgba8uint : texture_storage_2d_array<rgba8uint, write>;
|
||||
@group(0) @binding(2) var t_rgba8uint : texture_storage_2d_array<rgba8uint, write>;
|
||||
|
||||
[[group(0), binding(3)]] var t_rgba8sint : texture_storage_2d_array<rgba8sint, write>;
|
||||
@group(0) @binding(3) var t_rgba8sint : texture_storage_2d_array<rgba8sint, write>;
|
||||
|
||||
[[group(0), binding(4)]] var t_rgba16uint : texture_storage_2d_array<rgba16uint, write>;
|
||||
@group(0) @binding(4) var t_rgba16uint : texture_storage_2d_array<rgba16uint, write>;
|
||||
|
||||
[[group(0), binding(5)]] var t_rgba16sint : texture_storage_2d_array<rgba16sint, write>;
|
||||
@group(0) @binding(5) var t_rgba16sint : texture_storage_2d_array<rgba16sint, write>;
|
||||
|
||||
[[group(0), binding(6)]] var t_rgba16float : texture_storage_2d_array<rgba16float, write>;
|
||||
@group(0) @binding(6) var t_rgba16float : texture_storage_2d_array<rgba16float, write>;
|
||||
|
||||
[[group(0), binding(7)]] var t_r32uint : texture_storage_2d_array<r32uint, write>;
|
||||
@group(0) @binding(7) var t_r32uint : texture_storage_2d_array<r32uint, write>;
|
||||
|
||||
[[group(0), binding(8)]] var t_r32sint : texture_storage_2d_array<r32sint, write>;
|
||||
@group(0) @binding(8) var t_r32sint : texture_storage_2d_array<r32sint, write>;
|
||||
|
||||
[[group(0), binding(9)]] var t_r32float : texture_storage_2d_array<r32float, write>;
|
||||
@group(0) @binding(9) var t_r32float : texture_storage_2d_array<r32float, write>;
|
||||
|
||||
[[group(0), binding(10)]] var t_rg32uint : texture_storage_2d_array<rg32uint, write>;
|
||||
@group(0) @binding(10) var t_rg32uint : texture_storage_2d_array<rg32uint, write>;
|
||||
|
||||
[[group(0), binding(11)]] var t_rg32sint : texture_storage_2d_array<rg32sint, write>;
|
||||
@group(0) @binding(11) var t_rg32sint : texture_storage_2d_array<rg32sint, write>;
|
||||
|
||||
[[group(0), binding(12)]] var t_rg32float : texture_storage_2d_array<rg32float, write>;
|
||||
@group(0) @binding(12) var t_rg32float : texture_storage_2d_array<rg32float, write>;
|
||||
|
||||
[[group(0), binding(13)]] var t_rgba32uint : texture_storage_2d_array<rgba32uint, write>;
|
||||
@group(0) @binding(13) var t_rgba32uint : texture_storage_2d_array<rgba32uint, write>;
|
||||
|
||||
[[group(0), binding(14)]] var t_rgba32sint : texture_storage_2d_array<rgba32sint, write>;
|
||||
@group(0) @binding(14) var t_rgba32sint : texture_storage_2d_array<rgba32sint, write>;
|
||||
|
||||
[[group(0), binding(15)]] var t_rgba32float : texture_storage_2d_array<rgba32float, write>;
|
||||
@group(0) @binding(15) var t_rgba32float : texture_storage_2d_array<rgba32float, write>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(0), binding(0)]] var t_rgba8unorm : texture_storage_3d<rgba8unorm, write>;
|
||||
[[group(0), binding(1)]] var t_rgba8snorm : texture_storage_3d<rgba8snorm, write>;
|
||||
[[group(0), binding(2)]] var t_rgba8uint : texture_storage_3d<rgba8uint, write>;
|
||||
[[group(0), binding(3)]] var t_rgba8sint : texture_storage_3d<rgba8sint, write>;
|
||||
[[group(0), binding(4)]] var t_rgba16uint : texture_storage_3d<rgba16uint, write>;
|
||||
[[group(0), binding(5)]] var t_rgba16sint : texture_storage_3d<rgba16sint, write>;
|
||||
[[group(0), binding(6)]] var t_rgba16float : texture_storage_3d<rgba16float, write>;
|
||||
[[group(0), binding(7)]] var t_r32uint : texture_storage_3d<r32uint, write>;
|
||||
[[group(0), binding(8)]] var t_r32sint : texture_storage_3d<r32sint, write>;
|
||||
[[group(0), binding(9)]] var t_r32float : texture_storage_3d<r32float, write>;
|
||||
[[group(0), binding(10)]] var t_rg32uint : texture_storage_3d<rg32uint, write>;
|
||||
[[group(0), binding(11)]] var t_rg32sint : texture_storage_3d<rg32sint, write>;
|
||||
[[group(0), binding(12)]] var t_rg32float : texture_storage_3d<rg32float, write>;
|
||||
[[group(0), binding(13)]] var t_rgba32uint : texture_storage_3d<rgba32uint, write>;
|
||||
[[group(0), binding(14)]] var t_rgba32sint : texture_storage_3d<rgba32sint, write>;
|
||||
[[group(0), binding(15)]] var t_rgba32float : texture_storage_3d<rgba32float, write>;
|
||||
@group(0) @binding(0) var t_rgba8unorm : texture_storage_3d<rgba8unorm, write>;
|
||||
@group(0) @binding(1) var t_rgba8snorm : texture_storage_3d<rgba8snorm, write>;
|
||||
@group(0) @binding(2) var t_rgba8uint : texture_storage_3d<rgba8uint, write>;
|
||||
@group(0) @binding(3) var t_rgba8sint : texture_storage_3d<rgba8sint, write>;
|
||||
@group(0) @binding(4) var t_rgba16uint : texture_storage_3d<rgba16uint, write>;
|
||||
@group(0) @binding(5) var t_rgba16sint : texture_storage_3d<rgba16sint, write>;
|
||||
@group(0) @binding(6) var t_rgba16float : texture_storage_3d<rgba16float, write>;
|
||||
@group(0) @binding(7) var t_r32uint : texture_storage_3d<r32uint, write>;
|
||||
@group(0) @binding(8) var t_r32sint : texture_storage_3d<r32sint, write>;
|
||||
@group(0) @binding(9) var t_r32float : texture_storage_3d<r32float, write>;
|
||||
@group(0) @binding(10) var t_rg32uint : texture_storage_3d<rg32uint, write>;
|
||||
@group(0) @binding(11) var t_rg32sint : texture_storage_3d<rg32sint, write>;
|
||||
@group(0) @binding(12) var t_rg32float : texture_storage_3d<rg32float, write>;
|
||||
@group(0) @binding(13) var t_rgba32uint : texture_storage_3d<rgba32uint, write>;
|
||||
@group(0) @binding(14) var t_rgba32sint : texture_storage_3d<rgba32sint, write>;
|
||||
@group(0) @binding(15) var t_rgba32float : texture_storage_3d<rgba32float, write>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
[[group(0), binding(0)]] var t_rgba8unorm : texture_storage_3d<rgba8unorm, write>;
|
||||
@group(0) @binding(0) var t_rgba8unorm : texture_storage_3d<rgba8unorm, write>;
|
||||
|
||||
[[group(0), binding(1)]] var t_rgba8snorm : texture_storage_3d<rgba8snorm, write>;
|
||||
@group(0) @binding(1) var t_rgba8snorm : texture_storage_3d<rgba8snorm, write>;
|
||||
|
||||
[[group(0), binding(2)]] var t_rgba8uint : texture_storage_3d<rgba8uint, write>;
|
||||
@group(0) @binding(2) var t_rgba8uint : texture_storage_3d<rgba8uint, write>;
|
||||
|
||||
[[group(0), binding(3)]] var t_rgba8sint : texture_storage_3d<rgba8sint, write>;
|
||||
@group(0) @binding(3) var t_rgba8sint : texture_storage_3d<rgba8sint, write>;
|
||||
|
||||
[[group(0), binding(4)]] var t_rgba16uint : texture_storage_3d<rgba16uint, write>;
|
||||
@group(0) @binding(4) var t_rgba16uint : texture_storage_3d<rgba16uint, write>;
|
||||
|
||||
[[group(0), binding(5)]] var t_rgba16sint : texture_storage_3d<rgba16sint, write>;
|
||||
@group(0) @binding(5) var t_rgba16sint : texture_storage_3d<rgba16sint, write>;
|
||||
|
||||
[[group(0), binding(6)]] var t_rgba16float : texture_storage_3d<rgba16float, write>;
|
||||
@group(0) @binding(6) var t_rgba16float : texture_storage_3d<rgba16float, write>;
|
||||
|
||||
[[group(0), binding(7)]] var t_r32uint : texture_storage_3d<r32uint, write>;
|
||||
@group(0) @binding(7) var t_r32uint : texture_storage_3d<r32uint, write>;
|
||||
|
||||
[[group(0), binding(8)]] var t_r32sint : texture_storage_3d<r32sint, write>;
|
||||
@group(0) @binding(8) var t_r32sint : texture_storage_3d<r32sint, write>;
|
||||
|
||||
[[group(0), binding(9)]] var t_r32float : texture_storage_3d<r32float, write>;
|
||||
@group(0) @binding(9) var t_r32float : texture_storage_3d<r32float, write>;
|
||||
|
||||
[[group(0), binding(10)]] var t_rg32uint : texture_storage_3d<rg32uint, write>;
|
||||
@group(0) @binding(10) var t_rg32uint : texture_storage_3d<rg32uint, write>;
|
||||
|
||||
[[group(0), binding(11)]] var t_rg32sint : texture_storage_3d<rg32sint, write>;
|
||||
@group(0) @binding(11) var t_rg32sint : texture_storage_3d<rg32sint, write>;
|
||||
|
||||
[[group(0), binding(12)]] var t_rg32float : texture_storage_3d<rg32float, write>;
|
||||
@group(0) @binding(12) var t_rg32float : texture_storage_3d<rg32float, write>;
|
||||
|
||||
[[group(0), binding(13)]] var t_rgba32uint : texture_storage_3d<rgba32uint, write>;
|
||||
@group(0) @binding(13) var t_rgba32uint : texture_storage_3d<rgba32uint, write>;
|
||||
|
||||
[[group(0), binding(14)]] var t_rgba32sint : texture_storage_3d<rgba32sint, write>;
|
||||
@group(0) @binding(14) var t_rgba32sint : texture_storage_3d<rgba32sint, write>;
|
||||
|
||||
[[group(0), binding(15)]] var t_rgba32float : texture_storage_3d<rgba32float, write>;
|
||||
@group(0) @binding(15) var t_rgba32float : texture_storage_3d<rgba32float, write>;
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn main() {
|
||||
_ = t_rgba8unorm;
|
||||
_ = t_rgba8snorm;
|
||||
|
||||
Reference in New Issue
Block a user