blob: 68bc1d1879045f2b0dd54d91a641bcbcaeb21fa7 [file] [log] [blame]
James Price88c231b2023-08-15 12:47:28 +00001@group(1) @binding(0) var arg_0 : texture_storage_1d<rgba32sint, read>;
2
3fn textureLoad_ddeed3() {
4 var res : vec4<i32> = textureLoad(arg_0, 1i);
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_ddeed3();
13 return vec4<f32>();
14}
15
16@fragment
17fn fragment_main() {
18 textureLoad_ddeed3();
19}
20
21@compute @workgroup_size(1)
22fn compute_main() {
23 textureLoad_ddeed3();
24}