2021-06-03 11:26:17 +00:00
|
|
|
[[group(1), binding(0)]] var arg_0 : texture_depth_2d;
|
|
|
|
|
|
|
|
[[group(1), binding(1)]] var arg_1 : sampler;
|
|
|
|
|
|
|
|
fn textureSampleLevel_02be59() {
|
|
|
|
var res : f32 = textureSampleLevel(arg_0, arg_1, vec2<f32>(), 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(vertex)]]
|
2021-06-04 17:31:48 +00:00
|
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
2021-06-03 11:26:17 +00:00
|
|
|
textureSampleLevel_02be59();
|
2021-06-04 17:31:48 +00:00
|
|
|
return vec4<f32>();
|
2021-06-03 11:26:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(fragment)]]
|
|
|
|
fn fragment_main() {
|
|
|
|
textureSampleLevel_02be59();
|
|
|
|
}
|
|
|
|
|
2021-06-29 18:39:44 +00:00
|
|
|
[[stage(compute), workgroup_size(1)]]
|
2021-06-03 11:26:17 +00:00
|
|
|
fn compute_main() {
|
|
|
|
textureSampleLevel_02be59();
|
|
|
|
}
|