mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +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_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 textureSampleGrad(texture: texture_3d<f32>, sampler: sampler, coords: vec3<f32>, ddx: vec3<f32>, ddy: vec3<f32>) -> vec4<f32>
|
||||
fn textureSampleGrad_21402b() {
|
||||
var res: vec4<f32> = textureSampleGrad(arg_0, arg_1, vec3<f32>(), vec3<f32>(), vec3<f32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_21402b();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_21402b();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_21402b();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad_21402b() {
|
||||
var res : vec4<f32> = textureSampleGrad(arg_0, arg_1, vec3<f32>(), vec3<f32>(), vec3<f32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_21402b();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_21402b();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_21402b();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad(texture: texture_2d_array<f32>, sampler: sampler, coords: vec2<f32>, array_index: i32, ddx: vec2<f32>, ddy: vec2<f32>) -> vec4<f32>
|
||||
fn textureSampleGrad_2ecd8f() {
|
||||
var res: vec4<f32> = textureSampleGrad(arg_0, arg_1, vec2<f32>(), 1, vec2<f32>(), vec2<f32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_2ecd8f();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_2ecd8f();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_2ecd8f();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad_2ecd8f() {
|
||||
var res : vec4<f32> = textureSampleGrad(arg_0, arg_1, vec2<f32>(), 1, vec2<f32>(), vec2<f32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_2ecd8f();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_2ecd8f();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_2ecd8f();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, ddx: vec2<f32>, ddy: vec2<f32>, offset: vec2<i32>) -> vec4<f32>
|
||||
fn textureSampleGrad_468f88() {
|
||||
var res: vec4<f32> = textureSampleGrad(arg_0, arg_1, vec2<f32>(), vec2<f32>(), vec2<f32>(), vec2<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_468f88();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_468f88();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_468f88();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad_468f88() {
|
||||
var res : vec4<f32> = textureSampleGrad(arg_0, arg_1, vec2<f32>(), vec2<f32>(), vec2<f32>(), vec2<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_468f88();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_468f88();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_468f88();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad(texture: texture_2d<f32>, sampler: sampler, coords: vec2<f32>, ddx: vec2<f32>, ddy: vec2<f32>) -> vec4<f32>
|
||||
fn textureSampleGrad_521263() {
|
||||
var res: vec4<f32> = textureSampleGrad(arg_0, arg_1, vec2<f32>(), vec2<f32>(), vec2<f32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_521263();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_521263();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_521263();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad_521263() {
|
||||
var res : vec4<f32> = textureSampleGrad(arg_0, arg_1, vec2<f32>(), vec2<f32>(), vec2<f32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_521263();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_521263();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_521263();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad(texture: texture_cube<f32>, sampler: sampler, coords: vec3<f32>, ddx: vec3<f32>, ddy: vec3<f32>) -> vec4<f32>
|
||||
fn textureSampleGrad_5312f4() {
|
||||
var res: vec4<f32> = textureSampleGrad(arg_0, arg_1, vec3<f32>(), vec3<f32>(), vec3<f32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_5312f4();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_5312f4();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_5312f4();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad_5312f4() {
|
||||
var res : vec4<f32> = textureSampleGrad(arg_0, arg_1, vec3<f32>(), vec3<f32>(), vec3<f32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_5312f4();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_5312f4();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_5312f4();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad(texture: texture_2d_array<f32>, sampler: sampler, coords: vec2<f32>, array_index: i32, ddx: vec2<f32>, ddy: vec2<f32>, offset: vec2<i32>) -> vec4<f32>
|
||||
fn textureSampleGrad_872f00() {
|
||||
var res: vec4<f32> = textureSampleGrad(arg_0, arg_1, vec2<f32>(), 1, vec2<f32>(), vec2<f32>(), vec2<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_872f00();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_872f00();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_872f00();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad_872f00() {
|
||||
var res : vec4<f32> = textureSampleGrad(arg_0, arg_1, vec2<f32>(), 1, vec2<f32>(), vec2<f32>(), vec2<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_872f00();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_872f00();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_872f00();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad(texture: texture_cube_array<f32>, sampler: sampler, coords: vec3<f32>, array_index: i32, ddx: vec3<f32>, ddy: vec3<f32>) -> vec4<f32>
|
||||
fn textureSampleGrad_e383db() {
|
||||
var res: vec4<f32> = textureSampleGrad(arg_0, arg_1, vec3<f32>(), 1, vec3<f32>(), vec3<f32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_e383db();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_e383db();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_e383db();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad_e383db() {
|
||||
var res : vec4<f32> = textureSampleGrad(arg_0, arg_1, vec3<f32>(), 1, vec3<f32>(), vec3<f32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_e383db();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_e383db();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_e383db();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad(texture: texture_3d<f32>, sampler: sampler, coords: vec3<f32>, ddx: vec3<f32>, ddy: vec3<f32>, offset: vec3<i32>) -> vec4<f32>
|
||||
fn textureSampleGrad_e9a2f7() {
|
||||
var res: vec4<f32> = textureSampleGrad(arg_0, arg_1, vec3<f32>(), vec3<f32>(), vec3<f32>(), vec3<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_e9a2f7();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_e9a2f7();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_e9a2f7();
|
||||
}
|
||||
|
||||
@@ -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 textureSampleGrad_e9a2f7() {
|
||||
var res : vec4<f32> = textureSampleGrad(arg_0, arg_1, vec3<f32>(), vec3<f32>(), vec3<f32>(), vec3<i32>());
|
||||
}
|
||||
|
||||
[[stage(vertex)]]
|
||||
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
||||
@stage(vertex)
|
||||
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||||
textureSampleGrad_e9a2f7();
|
||||
return vec4<f32>();
|
||||
}
|
||||
|
||||
[[stage(fragment)]]
|
||||
@stage(fragment)
|
||||
fn fragment_main() {
|
||||
textureSampleGrad_e9a2f7();
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(1)]]
|
||||
@stage(compute) @workgroup_size(1)
|
||||
fn compute_main() {
|
||||
textureSampleGrad_e9a2f7();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user