dan sinclair | 999d93a | 2024-08-15 20:42:57 +0000 | [diff] [blame] | 1 | SKIP: INVALID |
dan sinclair | 6931379 | 2024-06-13 20:35:21 +0000 | [diff] [blame] | 2 | |
dan sinclair | 8f1d276 | 2024-07-31 02:35:40 +0000 | [diff] [blame] | 3 | struct VertexOutput { |
| 4 | float4 pos; |
| 5 | vector<float16_t, 4> prevent_dce; |
| 6 | }; |
| 7 | |
| 8 | struct vertex_main_outputs { |
| 9 | nointerpolation vector<float16_t, 4> VertexOutput_prevent_dce : TEXCOORD0; |
| 10 | float4 VertexOutput_pos : SV_Position; |
| 11 | }; |
| 12 | |
| 13 | |
| 14 | RWByteAddressBuffer prevent_dce : register(u0); |
| 15 | vector<float16_t, 4> cosh_3b7bbf() { |
| 16 | vector<float16_t, 4> res = (float16_t(1.0h)).xxxx; |
| 17 | return res; |
| 18 | } |
| 19 | |
| 20 | void fragment_main() { |
| 21 | prevent_dce.Store<vector<float16_t, 4> >(0u, cosh_3b7bbf()); |
| 22 | } |
| 23 | |
| 24 | [numthreads(1, 1, 1)] |
| 25 | void compute_main() { |
| 26 | prevent_dce.Store<vector<float16_t, 4> >(0u, cosh_3b7bbf()); |
| 27 | } |
| 28 | |
| 29 | VertexOutput vertex_main_inner() { |
| 30 | VertexOutput tint_symbol = (VertexOutput)0; |
| 31 | tint_symbol.pos = (0.0f).xxxx; |
| 32 | tint_symbol.prevent_dce = cosh_3b7bbf(); |
| 33 | VertexOutput v = tint_symbol; |
| 34 | return v; |
| 35 | } |
| 36 | |
| 37 | vertex_main_outputs vertex_main() { |
| 38 | VertexOutput v_1 = vertex_main_inner(); |
| 39 | VertexOutput v_2 = v_1; |
| 40 | VertexOutput v_3 = v_1; |
| 41 | vertex_main_outputs v_4 = {v_3.prevent_dce, v_2.pos}; |
| 42 | return v_4; |
| 43 | } |
| 44 | |
| 45 | FXC validation failure: |
Antonio Maiorano | 4f97c0e | 2024-08-22 05:42:29 +0000 | [diff] [blame] | 46 | <scrubbed_path>(3,10-18): error X3000: syntax error: unexpected token 'float16_t' |
dan sinclair | 8f1d276 | 2024-07-31 02:35:40 +0000 | [diff] [blame] | 47 | |
Antonio Maiorano | aef5957 | 2024-08-23 21:30:37 +0000 | [diff] [blame] | 48 | |
| 49 | tint executable returned error: exit status 1 |