blob: 09216c3bd63bca4d041dc6a146f4b81500ddecab [file] [log] [blame]
James Pricebb0496e2021-06-03 09:38:34 +00001struct FragmentOutputs {
2 int loc0;
3 uint loc1;
4 float loc2;
5 float4 loc3;
6};
7struct 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 Pricea5d73ce2021-08-04 22:15:28 +000014FragmentOutputs main_inner() {
James Pricebb0496e2021-06-03 09:38:34 +000015 const FragmentOutputs tint_symbol_1 = {1, 1u, 1.0f, float4(1.0f, 2.0f, 3.0f, 4.0f)};
James Pricea5d73ce2021-08-04 22:15:28 +000016 return tint_symbol_1;
17}
18
19tint_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 Pricebb0496e2021-06-03 09:38:34 +000027}