mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-09 14:45:58 +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>
22 lines
395 B
WebGPU Shading Language
22 lines
395 B
WebGPU Shading Language
@group(1) @binding(0) var arg_0 : texture_multisampled_2d<i32>;
|
|
|
|
fn textureLoad_e3d2cc() {
|
|
var res : vec4<i32> = textureLoad(arg_0, vec2<i32>(), 1i);
|
|
}
|
|
|
|
@vertex
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
|
textureLoad_e3d2cc();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
@fragment
|
|
fn fragment_main() {
|
|
textureLoad_e3d2cc();
|
|
}
|
|
|
|
@compute @workgroup_size(1)
|
|
fn compute_main() {
|
|
textureLoad_e3d2cc();
|
|
}
|