mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 14:13:39 +00:00
Fixed: tint:1671 Change-Id: Iaae5b5d571a4401c0255de727245bf8dbbe06740 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/102642 Reviewed-by: David Neto <dneto@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
29 lines
682 B
WebGPU Shading Language
29 lines
682 B
WebGPU Shading Language
builtins/gen/var/textureSampleLevel/979816.wgsl:29:24 warning: use of deprecated builtin
|
|
var res: vec4<f32> = textureSampleLevel(arg_0, arg_1, arg_2);
|
|
^^^^^^^^^^^^^^^^^^
|
|
|
|
@group(1) @binding(0) var arg_0 : texture_external;
|
|
|
|
@group(1) @binding(1) var arg_1 : sampler;
|
|
|
|
fn textureSampleLevel_979816() {
|
|
var arg_2 = vec2<f32>();
|
|
var res : vec4<f32> = textureSampleLevel(arg_0, arg_1, arg_2);
|
|
}
|
|
|
|
@vertex
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
|
textureSampleLevel_979816();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
@fragment
|
|
fn fragment_main() {
|
|
textureSampleLevel_979816();
|
|
}
|
|
|
|
@compute @workgroup_size(1)
|
|
fn compute_main() {
|
|
textureSampleLevel_979816();
|
|
}
|