dawn-cmake/test/intrinsics/gen/abs/b96037.wgsl.expected.hlsl

26 lines
369 B
HLSL

struct tint_symbol {
float4 value : SV_Position;
};
void abs_b96037() {
float res = abs(1.0f);
}
tint_symbol vertex_main() {
abs_b96037();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
return tint_symbol_1;
}
void fragment_main() {
abs_b96037();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
abs_b96037();
return;
}