Zhaoming Jiang | 9443ceb | 2022-08-05 15:15:17 +0000 | [diff] [blame] | 1 | SKIP: FAILED |
| 2 | |
| 3 | void pow_ce9ef5() { |
| 4 | float16_t arg_0 = float16_t(0.0h); |
| 5 | float16_t arg_1 = float16_t(0.0h); |
| 6 | float16_t res = pow(arg_0, arg_1); |
| 7 | } |
| 8 | |
| 9 | struct tint_symbol { |
| 10 | float4 value : SV_Position; |
| 11 | }; |
| 12 | |
| 13 | float4 vertex_main_inner() { |
| 14 | pow_ce9ef5(); |
| 15 | return (0.0f).xxxx; |
| 16 | } |
| 17 | |
| 18 | tint_symbol vertex_main() { |
| 19 | const float4 inner_result = vertex_main_inner(); |
| 20 | tint_symbol wrapper_result = (tint_symbol)0; |
| 21 | wrapper_result.value = inner_result; |
| 22 | return wrapper_result; |
| 23 | } |
| 24 | |
| 25 | void fragment_main() { |
| 26 | pow_ce9ef5(); |
| 27 | return; |
| 28 | } |
| 29 | |
| 30 | [numthreads(1, 1, 1)] |
| 31 | void compute_main() { |
| 32 | pow_ce9ef5(); |
| 33 | return; |
| 34 | } |
| 35 | FXC validation failure: |
| 36 | D:\Projects\RampUp\dawn\test\tint\builtins\Shader@0x000001987C544730(2,3-11): error X3000: unrecognized identifier 'float16_t' |
| 37 | D:\Projects\RampUp\dawn\test\tint\builtins\Shader@0x000001987C544730(2,13-17): error X3000: unrecognized identifier 'arg_0' |
| 38 | |