dawn-cmake/test/intrinsics/gen/modf/d1d6f6.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
457 B
HLSL

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