dan sinclair | 8f1d276 | 2024-07-31 02:35:40 +0000 | [diff] [blame] | 1 | struct VertexOutput { |
| 2 | float4 pos; |
| 3 | }; |
dan sinclair | 6931379 | 2024-06-13 20:35:21 +0000 | [diff] [blame] | 4 | |
dan sinclair | 8f1d276 | 2024-07-31 02:35:40 +0000 | [diff] [blame] | 5 | struct vertex_main_outputs { |
| 6 | float4 VertexOutput_pos : SV_Position; |
| 7 | }; |
| 8 | |
| 9 | |
| 10 | void round_8fdca3() { |
| 11 | float2 res = (4.0f).xx; |
| 12 | } |
| 13 | |
| 14 | void fragment_main() { |
| 15 | round_8fdca3(); |
| 16 | } |
| 17 | |
| 18 | [numthreads(1, 1, 1)] |
| 19 | void compute_main() { |
| 20 | round_8fdca3(); |
| 21 | } |
| 22 | |
| 23 | VertexOutput vertex_main_inner() { |
| 24 | VertexOutput tint_symbol = (VertexOutput)0; |
| 25 | tint_symbol.pos = (0.0f).xxxx; |
| 26 | round_8fdca3(); |
| 27 | VertexOutput v = tint_symbol; |
| 28 | return v; |
| 29 | } |
| 30 | |
| 31 | vertex_main_outputs vertex_main() { |
| 32 | VertexOutput v_1 = vertex_main_inner(); |
| 33 | vertex_main_outputs v_2 = {v_1.pos}; |
| 34 | return v_2; |
| 35 | } |
| 36 | |