dawn-cmake/test/intrinsics/gen/frexp/6be229.wgsl.expected.hlsl

24 lines
548 B
HLSL

groupshared uint3 arg_1;
void frexp_6be229() {
float3 tint_tmp;
float3 tint_tmp_1 = frexp(float3(0.0f, 0.0f, 0.0f), tint_tmp);
arg_1 = uint3(tint_tmp);
float3 res = tint_tmp_1;
}
struct tint_symbol_1 {
uint local_invocation_index : SV_GroupIndex;
};
[numthreads(1, 1, 1)]
void compute_main(tint_symbol_1 tint_symbol) {
const uint local_invocation_index = tint_symbol.local_invocation_index;
if ((local_invocation_index == 0u)) {
arg_1 = uint3(0u, 0u, 0u);
}
GroupMemoryBarrierWithGroupSync();
frexp_6be229();
return;
}