blob: a1613cdb4a385637b9c1c10826eb8d065a7ff108 [file] [log] [blame]
James Price88c231b2023-08-15 12:47:28 +00001@group(1) @binding(0) var arg_0 : texture_storage_2d<rgba8sint, read>;
2
3fn textureLoad_b24d27() {
4 var res : vec4<i32> = textureLoad(arg_0, vec2<u32>(1u));
5 prevent_dce = res;
6}
7
8@group(2) @binding(0) var<storage, read_write> prevent_dce : vec4<i32>;
9
10@vertex
11fn vertex_main() -> @builtin(position) vec4<f32> {
12 textureLoad_b24d27();
13 return vec4<f32>();
14}
15
16@fragment
17fn fragment_main() {
18 textureLoad_b24d27();
19}
20
21@compute @workgroup_size(1)
22fn compute_main() {
23 textureLoad_b24d27();
24}