blob: 709ea0fb8949fd8934b673e5eccfe14bd2714860 [file] [log] [blame]
Ben Claytonc0af5c52022-06-02 14:36:10 +00001fn step_e2b337() {
Ben Claytonee36e392022-07-26 14:27:25 +00002 var arg_0 = vec4<f32>(1.0f);
3 var arg_1 = vec4<f32>(1.0f);
Ben Claytonc0af5c52022-06-02 14:36:10 +00004 var res : vec4<f32> = step(arg_0, arg_1);
Ben Clayton77a90cb2023-03-06 18:25:08 +00005 prevent_dce = res;
Ben Claytonc0af5c52022-06-02 14:36:10 +00006}
7
Ben Clayton77a90cb2023-03-06 18:25:08 +00008@group(2) @binding(0) var<storage, read_write> prevent_dce : vec4<f32>;
9
dan sinclairb29892b2022-06-07 13:55:34 +000010@vertex
Ben Claytonc0af5c52022-06-02 14:36:10 +000011fn vertex_main() -> @builtin(position) vec4<f32> {
12 step_e2b337();
13 return vec4<f32>();
14}
15
dan sinclairb29892b2022-06-07 13:55:34 +000016@fragment
Ben Claytonc0af5c52022-06-02 14:36:10 +000017fn fragment_main() {
18 step_e2b337();
19}
20
dan sinclairb29892b2022-06-07 13:55:34 +000021@compute @workgroup_size(1)
Ben Claytonc0af5c52022-06-02 14:36:10 +000022fn compute_main() {
23 step_e2b337();
24}