James Price | bb0496e | 2021-06-03 09:38:34 +0000 | [diff] [blame] | 1 | struct FragmentOutputs { |
| 2 | int loc0; |
| 3 | uint loc1; |
| 4 | float loc2; |
| 5 | float4 loc3; |
| 6 | }; |
| 7 | struct tint_symbol { |
| 8 | int loc0 : SV_Target0; |
| 9 | uint loc1 : SV_Target1; |
| 10 | float loc2 : SV_Target2; |
| 11 | float4 loc3 : SV_Target3; |
| 12 | }; |
| 13 | |
James Price | a5d73ce | 2021-08-04 22:15:28 +0000 | [diff] [blame] | 14 | FragmentOutputs main_inner() { |
James Price | bb0496e | 2021-06-03 09:38:34 +0000 | [diff] [blame] | 15 | const FragmentOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f)}; |
James Price | a5d73ce | 2021-08-04 22:15:28 +0000 | [diff] [blame] | 16 | return tint_symbol_1; |
| 17 | } |
| 18 | |
| 19 | tint_symbol main() { |
| 20 | const FragmentOutputs inner_result = main_inner(); |
| 21 | tint_symbol wrapper_result = (tint_symbol)0; |
| 22 | wrapper_result.loc0 = inner_result.loc0; |
| 23 | wrapper_result.loc1 = inner_result.loc1; |
| 24 | wrapper_result.loc2 = inner_result.loc2; |
| 25 | wrapper_result.loc3 = inner_result.loc3; |
| 26 | return wrapper_result; |
James Price | bb0496e | 2021-06-03 09:38:34 +0000 | [diff] [blame] | 27 | } |