dawn-cmake/test/intrinsics/gen/round/9edc38.wgsl.expected.hlsl

26 lines
379 B
HLSL

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