blob: 14d0af3b7a21eec8463449c6861e15dbbca73bf2 [file] [log] [blame]
Ben Clayton13f08902022-10-26 18:36:44 +00001@group(1) @binding(0) var arg_0 : texture_storage_2d<rgba16uint, write>;
2
3fn textureDimensions_e99308() {
4 var res : vec2<u32> = textureDimensions(arg_0);
Ben Clayton77a90cb2023-03-06 18:25:08 +00005 prevent_dce = res;
Ben Clayton13f08902022-10-26 18:36:44 +00006}
7
Ben Clayton77a90cb2023-03-06 18:25:08 +00008@group(2) @binding(0) var<storage, read_write> prevent_dce : vec2<u32>;
9
Ben Clayton13f08902022-10-26 18:36:44 +000010@vertex
11fn vertex_main() -> @builtin(position) vec4<f32> {
12 textureDimensions_e99308();
13 return vec4<f32>();
14}
15
16@fragment
17fn fragment_main() {
18 textureDimensions_e99308();
19}
20
21@compute @workgroup_size(1)
22fn compute_main() {
23 textureDimensions_e99308();
24}