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

26 lines
414 B
HLSL
Raw Normal View History

struct tint_symbol {
float4 value : SV_Position;
};
void normalize_fc2ef1() {
float2 res = normalize(float2(0.0f, 0.0f));
}
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;
}