dan sinclair | 6931379 | 2024-06-13 20:35:21 +0000 | [diff] [blame] | 1 | SKIP: FAILED |
| 2 | |
dan sinclair | 8f1d276 | 2024-07-31 02:35:40 +0000 | [diff] [blame] | 3 | struct frexp_result_vec4_f16 { |
| 4 | vector<float16_t, 4> fract; |
| 5 | int4 exp; |
| 6 | }; |
| 7 | |
| 8 | struct VertexOutput { |
| 9 | float4 pos; |
| 10 | }; |
| 11 | |
| 12 | struct vertex_main_outputs { |
| 13 | float4 VertexOutput_pos : SV_Position; |
| 14 | }; |
| 15 | |
| 16 | |
| 17 | void frexp_3dd21e() { |
| 18 | vector<float16_t, 4> arg_0 = (float16_t(1.0h)).xxxx; |
| 19 | frexp_result_vec4_f16 res = frexp(arg_0); |
| 20 | } |
| 21 | |
| 22 | void fragment_main() { |
| 23 | frexp_3dd21e(); |
| 24 | } |
| 25 | |
| 26 | [numthreads(1, 1, 1)] |
| 27 | void compute_main() { |
| 28 | frexp_3dd21e(); |
| 29 | } |
| 30 | |
| 31 | VertexOutput vertex_main_inner() { |
| 32 | VertexOutput tint_symbol = (VertexOutput)0; |
| 33 | tint_symbol.pos = (0.0f).xxxx; |
| 34 | frexp_3dd21e(); |
| 35 | VertexOutput v = tint_symbol; |
| 36 | return v; |
| 37 | } |
| 38 | |
| 39 | vertex_main_outputs vertex_main() { |
| 40 | VertexOutput v_1 = vertex_main_inner(); |
| 41 | vertex_main_outputs v_2 = {v_1.pos}; |
| 42 | return v_2; |
| 43 | } |
| 44 | |
| 45 | DXC validation failure: |
| 46 | hlsl.hlsl:17:31: error: use of undeclared identifier 'frexp' |
| 47 | frexp_result_vec4_f16 res = frexp(arg_0); |
| 48 | ^ |
| 49 | |
Antonio Maiorano | aef5957 | 2024-08-23 21:30:37 +0000 | [diff] [blame] | 50 | |
| 51 | tint executable returned error: exit status 1 |