| struct FragOutput { |
| float4 color; |
| float4 blend; |
| }; |
| |
| struct frag_main_outputs { |
| float4 FragOutput_color : SV_Target0; |
| float4 FragOutput_blend : SV_Target1; |
| }; |
| |
| |
| FragOutput frag_main_inner() { |
| FragOutput output = (FragOutput)0; |
| output.color = float4(0.5f, 0.5f, 0.5f, 1.0f); |
| output.blend = float4(0.5f, 0.5f, 0.5f, 1.0f); |
| FragOutput v = output; |
| return v; |
| } |
| |
| frag_main_outputs frag_main() { |
| FragOutput v_1 = frag_main_inner(); |
| FragOutput v_2 = v_1; |
| FragOutput v_3 = v_1; |
| frag_main_outputs v_4 = {v_2.color, v_3.blend}; |
| return v_4; |
| } |
| |