mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 08:57:26 +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,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_depth_2d;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_depth_2d;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_depth_2d, sampler: sampler, coords: vec2<f32>, level: i32) -> f32
|
||||
fn textureSampleLevel_02be59() {
|
||||
var res: f32 = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_02be59();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_02be59();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_02be59();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_depth_2d;
|
||||
@group(1) @binding(0) var arg_0 : texture_depth_2d;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_02be59() {
|
||||
var res : f32 = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_02be59();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_02be59();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_02be59();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_cube_array<f32>;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_cube_array<f32>;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_cube_array<f32>, sampler: sampler, coords: vec3<f32>, array_index: i32, level: f32) -> vec4<f32>
|
||||
fn textureSampleLevel_0bdd9a() {
|
||||
var res: vec4<f32> = textureSampleLevel(arg_0, arg_1, vec3<f32>(), 1, 1.0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_0bdd9a();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_0bdd9a();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_0bdd9a();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_cube_array<f32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_cube_array<f32>;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_0bdd9a() {
|
||||
var res : vec4<f32> = textureSampleLevel(arg_0, arg_1, vec3<f32>(), 1, 1.0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_0bdd9a();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_0bdd9a();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_0bdd9a();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_depth_cube;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_depth_cube;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_depth_cube, sampler: sampler, coords: vec3<f32>, level: i32) -> f32
|
||||
fn textureSampleLevel_1b0291() {
|
||||
var res: f32 = textureSampleLevel(arg_0, arg_1, vec3<f32>(), 0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_1b0291();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_1b0291();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_1b0291();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_depth_cube;
|
||||
@group(1) @binding(0) var arg_0 : texture_depth_cube;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_1b0291() {
|
||||
var res : f32 = textureSampleLevel(arg_0, arg_1, vec3<f32>(), 0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_1b0291();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_1b0291();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_1b0291();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_depth_2d_array;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_depth_2d_array, sampler: sampler, coords: vec2<f32>, array_index: i32, level: i32) -> f32
|
||||
fn textureSampleLevel_1bf73e() {
|
||||
var res: f32 = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 1, 0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_1bf73e();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_1bf73e();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_1bf73e();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_depth_2d_array;
|
||||
@group(1) @binding(0) var arg_0 : texture_depth_2d_array;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_1bf73e() {
|
||||
var res : f32 = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 1, 0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_1bf73e();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_1bf73e();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_1bf73e();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_2d_array<f32>;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_2d_array<f32>;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_2d_array<f32>, sampler: sampler, coords: vec2<f32>, array_index: i32, level: f32) -> vec4<f32>
|
||||
fn textureSampleLevel_302be4() {
|
||||
var res: vec4<f32> = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 1, 1.0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_302be4();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_302be4();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_302be4();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_2d_array<f32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_2d_array<f32>;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_302be4() {
|
||||
var res : vec4<f32> = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 1, 1.0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_302be4();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_302be4();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_302be4();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_depth_2d;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_depth_2d;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_depth_2d, sampler: sampler, coords: vec2<f32>, level: i32, offset: vec2<i32>) -> f32
|
||||
fn textureSampleLevel_47daa4() {
|
||||
var res: f32 = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 0, vec2<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_47daa4();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_47daa4();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_47daa4();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_depth_2d;
|
||||
@group(1) @binding(0) var arg_0 : texture_depth_2d;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_47daa4() {
|
||||
var res : f32 = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 0, vec2<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_47daa4();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_47daa4();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_47daa4();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_2d<f32>;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_2d<f32>;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, level: f32, offset: vec2<i32>) -> vec4<f32>
|
||||
fn textureSampleLevel_690d95() {
|
||||
var res: vec4<f32> = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 1.0, vec2<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_690d95();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_690d95();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_690d95();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_2d<f32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_2d<f32>;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_690d95() {
|
||||
var res : vec4<f32> = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 1.0, vec2<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_690d95();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_690d95();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_690d95();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_external;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_external;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_external, sampler: sampler, coords: vec2<f32>) -> vec4<f32>
|
||||
fn textureSampleLevel_979816() {
|
||||
var res: vec4<f32> = textureSampleLevel(arg_0, arg_1, vec2<f32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_979816();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_979816();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_979816();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_external;
|
||||
@group(1) @binding(0) var arg_0 : texture_external;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_979816() {
|
||||
var res : vec4<f32> = textureSampleLevel(arg_0, arg_1, vec2<f32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_979816();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_979816();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_979816();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_3d<f32>;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_3d<f32>;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_3d<f32>, sampler: sampler, coords: vec3<f32>, level: f32, offset: vec3<i32>) -> vec4<f32>
|
||||
fn textureSampleLevel_9bd37b() {
|
||||
var res: vec4<f32> = textureSampleLevel(arg_0, arg_1, vec3<f32>(), 1.0, vec3<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_9bd37b();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_9bd37b();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_9bd37b();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_3d<f32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_3d<f32>;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_9bd37b() {
|
||||
var res : vec4<f32> = textureSampleLevel(arg_0, arg_1, vec3<f32>(), 1.0, vec3<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_9bd37b();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_9bd37b();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_9bd37b();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_2d_array<f32>;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_2d_array<f32>;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_2d_array<f32>, sampler: sampler, coords: vec2<f32>, array_index: i32, level: f32, offset: vec2<i32>) -> vec4<f32>
|
||||
fn textureSampleLevel_a4af26() {
|
||||
var res: vec4<f32> = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 1, 1.0, vec2<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_a4af26();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_a4af26();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_a4af26();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_2d_array<f32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_2d_array<f32>;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_a4af26() {
|
||||
var res : vec4<f32> = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 1, 1.0, vec2<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_a4af26();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_a4af26();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_a4af26();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_3d<f32>;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_3d<f32>;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_3d<f32>, sampler: sampler, coords: vec3<f32>, level: f32) -> vec4<f32>
|
||||
fn textureSampleLevel_abfcc0() {
|
||||
var res: vec4<f32> = textureSampleLevel(arg_0, arg_1, vec3<f32>(), 1.0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_abfcc0();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_abfcc0();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_abfcc0();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_3d<f32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_3d<f32>;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_abfcc0() {
|
||||
var res : vec4<f32> = textureSampleLevel(arg_0, arg_1, vec3<f32>(), 1.0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_abfcc0();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_abfcc0();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_abfcc0();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_depth_cube_array;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_depth_cube_array;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_depth_cube_array, sampler: sampler, coords: vec3<f32>, array_index: i32, level: i32) -> f32
|
||||
fn textureSampleLevel_ae5e39() {
|
||||
var res: f32 = textureSampleLevel(arg_0, arg_1, vec3<f32>(), 1, 0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_ae5e39();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_ae5e39();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_ae5e39();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_depth_cube_array;
|
||||
@group(1) @binding(0) var arg_0 : texture_depth_cube_array;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_ae5e39() {
|
||||
var res : f32 = textureSampleLevel(arg_0, arg_1, vec3<f32>(), 1, 0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_ae5e39();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_ae5e39();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_ae5e39();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_depth_2d_array;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_depth_2d_array;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_depth_2d_array, sampler: sampler, coords: vec2<f32>, array_index: i32, level: i32, offset: vec2<i32>) -> f32
|
||||
fn textureSampleLevel_ba93b3() {
|
||||
var res: f32 = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 1, 0, vec2<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_ba93b3();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_ba93b3();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_ba93b3();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_depth_2d_array;
|
||||
@group(1) @binding(0) var arg_0 : texture_depth_2d_array;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_ba93b3() {
|
||||
var res : f32 = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 1, 0, vec2<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_ba93b3();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_ba93b3();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_ba93b3();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_cube<f32>;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_cube<f32>;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_cube<f32>, sampler: sampler, coords: vec3<f32>, level: f32) -> vec4<f32>
|
||||
fn textureSampleLevel_c32df7() {
|
||||
var res: vec4<f32> = textureSampleLevel(arg_0, arg_1, vec3<f32>(), 1.0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_c32df7();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_c32df7();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_c32df7();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_cube<f32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_cube<f32>;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_c32df7() {
|
||||
var res : vec4<f32> = textureSampleLevel(arg_0, arg_1, vec3<f32>(), 1.0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_c32df7();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_c32df7();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_c32df7();
|
||||
}
|
||||
|
||||
@@ -22,26 +22,26 @@
|
||||
// Do not modify this file directly
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
[[group(1), binding(0)]] var arg_0: texture_2d<f32>;
|
||||
[[group(1), binding(1)]] var arg_1: sampler;
|
||||
@group(1) @binding(0) var arg_0: texture_2d<f32>;
|
||||
@group(1) @binding(1) var arg_1: sampler;
|
||||
|
||||
// fn textureSampleLevel(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, level: f32) -> vec4<f32>
|
||||
fn textureSampleLevel_c6aca6() {
|
||||
var res: vec4<f32> = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 1.0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_c6aca6();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_c6aca6();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_c6aca6();
|
||||
}
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
[[group(1), binding(0)]] var arg_0 : texture_2d<f32>;
|
||||
@group(1) @binding(0) var arg_0 : texture_2d<f32>;
|
||||
|
||||
[[group(1), binding(1)]] var arg_1 : sampler;
|
||||
@group(1) @binding(1) var arg_1 : sampler;
|
||||
|
||||
fn textureSampleLevel_c6aca6() {
|
||||
var res : vec4<f32> = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 1.0);
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleLevel_c6aca6();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleLevel_c6aca6();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleLevel_c6aca6();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user