dawn-cmake/test/intrinsics/gen/normalize/fc2ef1.wgsl.expected.hlsl

25 lines
413 B
HLSL

void normalize_fc2ef1() {
float2 res = normalize(float2(0.0f, 0.0f));
}
struct tint_symbol {
float4 value : SV_Position;
};
tint_symbol vertex_main() {
normalize_fc2ef1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
return tint_symbol_1;
}
void fragment_main() {
normalize_fc2ef1();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
normalize_fc2ef1();
return;
}