| struct Interface { |
| float col1; |
| float16_t col2; |
| float4 pos; |
| }; |
| |
| struct vert_main_outputs { |
| float Interface_col1 : TEXCOORD1; |
| float16_t Interface_col2 : TEXCOORD2; |
| float4 Interface_pos : SV_Position; |
| }; |
| |
| struct frag_main_inputs { |
| float Interface_col1 : TEXCOORD1; |
| float16_t Interface_col2 : TEXCOORD2; |
| float4 Interface_pos : SV_Position; |
| }; |
| |
| |
| Interface vert_main_inner() { |
| Interface v = {0.40000000596046447754f, float16_t(0.599609375h), (0.0f).xxxx}; |
| return v; |
| } |
| |
| void frag_main_inner(Interface colors) { |
| float r = colors.col1; |
| float16_t g = colors.col2; |
| } |
| |
| vert_main_outputs vert_main() { |
| Interface v_1 = vert_main_inner(); |
| Interface v_2 = v_1; |
| Interface v_3 = v_1; |
| Interface v_4 = v_1; |
| vert_main_outputs v_5 = {v_2.col1, v_3.col2, v_4.pos}; |
| return v_5; |
| } |
| |
| void frag_main(frag_main_inputs inputs) { |
| Interface v_6 = {inputs.Interface_col1, inputs.Interface_col2, float4(inputs.Interface_pos.xyz, (1.0f / inputs.Interface_pos[3u]))}; |
| frag_main_inner(v_6); |
| } |
| |