dawn-cmake/test/intrinsics/gen/modf/a54eca.wgsl.expected.hlsl
Ben Clayton 9ca78030eb hlsl: Implement modf and frexp
Change-Id: I40b3ad7e2d4811b0a52e75402c7d5ccda090a97c
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53809
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
2021-06-09 18:53:57 +00:00

27 lines
433 B
HLSL

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