blob: 6dd48a7ee4fd60bd839318e7e4f75b2b92094025 [file] [log] [blame]
@group(0) @binding(0) var<storage, read_write> prevent_dce : vec3<i32>;
fn reverseBits_c21bc1() -> vec3<i32> {
var res : vec3<i32> = reverseBits(vec3<i32>(1i));
return res;
}
@fragment
fn fragment_main() {
prevent_dce = reverseBits_c21bc1();
}
@compute @workgroup_size(1)
fn compute_main() {
prevent_dce = reverseBits_c21bc1();
}
struct VertexOutput {
@builtin(position)
pos : vec4<f32>,
@location(0) @interpolate(flat)
prevent_dce : vec3<i32>,
}
@vertex
fn vertex_main() -> VertexOutput {
var out : VertexOutput;
out.pos = vec4<f32>();
out.prevent_dce = reverseBits_c21bc1();
return out;
}