mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-12 08:05:53 +00:00
These were incorrectly abstract-int, instead of i32. Oops. Change-Id: Iafac4883ee431b04fb473392f545ae26436f8343 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106885 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
13 lines
295 B
WebGPU Shading Language
13 lines
295 B
WebGPU Shading Language
@group(1) @binding(0) var arg_0 : texture_depth_2d_array;
|
|
|
|
@group(1) @binding(1) var arg_1 : sampler_comparison;
|
|
|
|
fn textureSampleCompare_dd431d() {
|
|
var res : f32 = textureSampleCompare(arg_0, arg_1, vec2<f32>(), 1i, 1.0f);
|
|
}
|
|
|
|
@fragment
|
|
fn fragment_main() {
|
|
textureSampleCompare_dd431d();
|
|
}
|