| SKIP: FAILED |
| |
| struct frexp_result_vec2_f32 { |
| float2 fract; |
| int2 exp; |
| }; |
| |
| |
| [numthreads(1, 1, 1)] |
| void main() { |
| float2 runtime_in = float2(1.25f, 3.75f); |
| frexp_result_vec2_f32 res = {float2(0.625f, 0.9375f), int2(1, 2)}; |
| frexp_result_vec2_f32 v = frexp(runtime_in); |
| res = v; |
| frexp_result_vec2_f32 v_1 = {float2(0.625f, 0.9375f), int2(1, 2)}; |
| res = v_1; |
| float2 fract = res.fract; |
| int2 exp = res.exp; |
| } |
| |
| DXC validation failure: |
| hlsl.hlsl:11:29: error: use of undeclared identifier 'frexp' |
| frexp_result_vec2_f32 v = frexp(runtime_in); |
| ^ |
| |
| |
| tint executable returned error: exit status 1 |