mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 18:59:21 +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
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_2d_array<f32>;
|
||||
@group(1) @binding(0) var arg_0: texture_2d_array<f32>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_2d_array<f32>) -> i32
|
||||
fn textureNumLayers_024820() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_024820();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_024820();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_024820();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_2d_array<f32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_2d_array<f32>;
|
||||
|
||||
fn textureNumLayers_024820() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_024820();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_024820();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_024820();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_cube_array<u32>;
|
||||
@group(1) @binding(0) var arg_0: texture_cube_array<u32>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_cube_array<u32>) -> i32
|
||||
fn textureNumLayers_053df7() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_053df7();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_053df7();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_053df7();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_cube_array<u32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_cube_array<u32>;
|
||||
|
||||
fn textureNumLayers_053df7() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_053df7();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_053df7();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_053df7();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<rg32sint, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<rg32sint, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<rg32sint, write>) -> i32
|
||||
fn textureNumLayers_058cc3() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_058cc3();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_058cc3();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_058cc3();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rg32sint, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rg32sint, write>;
|
||||
|
||||
fn textureNumLayers_058cc3() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_058cc3();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_058cc3();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_058cc3();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<rgba8unorm, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<rgba8unorm, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<rgba8unorm, write>) -> i32
|
||||
fn textureNumLayers_09d05d() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_09d05d();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_09d05d();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_09d05d();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rgba8unorm, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rgba8unorm, write>;
|
||||
|
||||
fn textureNumLayers_09d05d() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_09d05d();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_09d05d();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_09d05d();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<rgba32sint, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<rgba32sint, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<rgba32sint, write>) -> i32
|
||||
fn textureNumLayers_13b4ce() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_13b4ce();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_13b4ce();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_13b4ce();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rgba32sint, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rgba32sint, write>;
|
||||
|
||||
fn textureNumLayers_13b4ce() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_13b4ce();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_13b4ce();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_13b4ce();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<r32sint, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<r32sint, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<r32sint, write>) -> i32
|
||||
fn textureNumLayers_22e53b() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_22e53b();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_22e53b();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_22e53b();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<r32sint, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<r32sint, write>;
|
||||
|
||||
fn textureNumLayers_22e53b() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_22e53b();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_22e53b();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_22e53b();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<rgba16float, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<rgba16float, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<rgba16float, write>) -> i32
|
||||
fn textureNumLayers_562013() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_562013();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_562013();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_562013();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rgba16float, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rgba16float, write>;
|
||||
|
||||
fn textureNumLayers_562013() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_562013();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_562013();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_562013();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_cube_array<f32>;
|
||||
@group(1) @binding(0) var arg_0: texture_cube_array<f32>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_cube_array<f32>) -> i32
|
||||
fn textureNumLayers_5d59cd() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_5d59cd();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_5d59cd();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_5d59cd();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_cube_array<f32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_cube_array<f32>;
|
||||
|
||||
fn textureNumLayers_5d59cd() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_5d59cd();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_5d59cd();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_5d59cd();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<rgba32float, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<rgba32float, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<rgba32float, write>) -> i32
|
||||
fn textureNumLayers_68a65b() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_68a65b();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_68a65b();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_68a65b();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rgba32float, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rgba32float, write>;
|
||||
|
||||
fn textureNumLayers_68a65b() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_68a65b();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_68a65b();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_68a65b();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_depth_cube_array;
|
||||
@group(1) @binding(0) var arg_0: texture_depth_cube_array;
|
||||
|
||||
// fn textureNumLayers(texture: texture_depth_cube_array) -> i32
|
||||
fn textureNumLayers_778bd1() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_778bd1();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_778bd1();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_778bd1();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_depth_cube_array;
|
||||
@group(1) @binding(0) var arg_0 : texture_depth_cube_array;
|
||||
|
||||
fn textureNumLayers_778bd1() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_778bd1();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_778bd1();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_778bd1();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<rg32float, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<rg32float, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<rg32float, write>) -> i32
|
||||
fn textureNumLayers_7f1937() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_7f1937();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_7f1937();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_7f1937();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rg32float, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rg32float, write>;
|
||||
|
||||
fn textureNumLayers_7f1937() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_7f1937();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_7f1937();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_7f1937();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_cube_array<i32>;
|
||||
@group(1) @binding(0) var arg_0: texture_cube_array<i32>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_cube_array<i32>) -> i32
|
||||
fn textureNumLayers_85f980() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_85f980();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_85f980();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_85f980();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_cube_array<i32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_cube_array<i32>;
|
||||
|
||||
fn textureNumLayers_85f980() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_85f980();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_85f980();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_85f980();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_2d_array<u32>;
|
||||
@group(1) @binding(0) var arg_0: texture_2d_array<u32>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_2d_array<u32>) -> i32
|
||||
fn textureNumLayers_87953e() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_87953e();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_87953e();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_87953e();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_2d_array<u32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_2d_array<u32>;
|
||||
|
||||
fn textureNumLayers_87953e() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_87953e();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_87953e();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_87953e();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_2d_array<i32>;
|
||||
@group(1) @binding(0) var arg_0: texture_2d_array<i32>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_2d_array<i32>) -> i32
|
||||
fn textureNumLayers_893e7c() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_893e7c();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_893e7c();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_893e7c();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_2d_array<i32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_2d_array<i32>;
|
||||
|
||||
fn textureNumLayers_893e7c() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_893e7c();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_893e7c();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_893e7c();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<rgba16uint, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<rgba16uint, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<rgba16uint, write>) -> i32
|
||||
fn textureNumLayers_9700fb() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_9700fb();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_9700fb();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_9700fb();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rgba16uint, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rgba16uint, write>;
|
||||
|
||||
fn textureNumLayers_9700fb() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_9700fb();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_9700fb();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_9700fb();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<rgba8sint, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<rgba8sint, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<rgba8sint, write>) -> i32
|
||||
fn textureNumLayers_a216d2() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_a216d2();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_a216d2();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_a216d2();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rgba8sint, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rgba8sint, write>;
|
||||
|
||||
fn textureNumLayers_a216d2() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_a216d2();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_a216d2();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_a216d2();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<rgba32uint, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<rgba32uint, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<rgba32uint, write>) -> i32
|
||||
fn textureNumLayers_cd5dc8() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_cd5dc8();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_cd5dc8();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_cd5dc8();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rgba32uint, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rgba32uint, write>;
|
||||
|
||||
fn textureNumLayers_cd5dc8() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_cd5dc8();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_cd5dc8();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_cd5dc8();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<r32float, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<r32float, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<r32float, write>) -> i32
|
||||
fn textureNumLayers_d5b228() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_d5b228();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_d5b228();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_d5b228();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<r32float, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<r32float, write>;
|
||||
|
||||
fn textureNumLayers_d5b228() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_d5b228();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_d5b228();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_d5b228();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<rgba8snorm, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<rgba8snorm, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<rgba8snorm, write>) -> i32
|
||||
fn textureNumLayers_e31be1() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_e31be1();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_e31be1();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_e31be1();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rgba8snorm, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rgba8snorm, write>;
|
||||
|
||||
fn textureNumLayers_e31be1() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_e31be1();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_e31be1();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_e31be1();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_depth_2d_array;
|
||||
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
|
||||
|
||||
// fn textureNumLayers(texture: texture_depth_2d_array) -> i32
|
||||
fn textureNumLayers_e653c0() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_e653c0();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_e653c0();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_e653c0();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_depth_2d_array;
|
||||
@group(1) @binding(0) var arg_0 : texture_depth_2d_array;
|
||||
|
||||
fn textureNumLayers_e653c0() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_e653c0();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_e653c0();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_e653c0();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<r32uint, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<r32uint, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<r32uint, write>) -> i32
|
||||
fn textureNumLayers_ee942f() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_ee942f();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_ee942f();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_ee942f();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<r32uint, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<r32uint, write>;
|
||||
|
||||
fn textureNumLayers_ee942f() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_ee942f();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_ee942f();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_ee942f();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<rgba16sint, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<rgba16sint, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<rgba16sint, write>) -> i32
|
||||
fn textureNumLayers_f33005() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_f33005();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_f33005();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_f33005();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rgba16sint, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rgba16sint, write>;
|
||||
|
||||
fn textureNumLayers_f33005() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_f33005();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_f33005();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_f33005();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<rg32uint, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<rg32uint, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<rg32uint, write>) -> i32
|
||||
fn textureNumLayers_fcec98() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_fcec98();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_fcec98();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_fcec98();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rg32uint, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rg32uint, write>;
|
||||
|
||||
fn textureNumLayers_fcec98() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_fcec98();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_fcec98();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_fcec98();
|
||||
}
|
||||
|
||||
@@ -22,25 +22,25 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_storage_2d_array<rgba8uint, write>;
|
||||
@group(1) @binding(0) var arg_0: texture_storage_2d_array<rgba8uint, write>;
|
||||
|
||||
// fn textureNumLayers(texture: texture_storage_2d_array<rgba8uint, write>) -> i32
|
||||
fn textureNumLayers_ff5e89() {
|
||||
var res: i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_ff5e89();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_ff5e89();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_ff5e89();
|
||||
}
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_storage_2d_array<rgba8uint, write>;
|
||||
@group(1) @binding(0) var arg_0 : texture_storage_2d_array<rgba8uint, write>;
|
||||
|
||||
fn textureNumLayers_ff5e89() {
|
||||
var res : i32 = textureNumLayers(arg_0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureNumLayers_ff5e89();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureNumLayers_ff5e89();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureNumLayers_ff5e89();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user