| struct modf_result_f32 { |
| float fract; |
| float whole; |
| }; |
| |
| struct VertexOutput { |
| float4 pos; |
| }; |
| |
| struct vertex_main_outputs { |
| float4 VertexOutput_pos : SV_Position; |
| }; |
| |
| |
| void modf_c15f48() { |
| modf_result_f32 res = {-0.5f, -1.0f}; |
| } |
| |
| void fragment_main() { |
| modf_c15f48(); |
| } |
| |
| [numthreads(1, 1, 1)] |
| void compute_main() { |
| modf_c15f48(); |
| } |
| |
| VertexOutput vertex_main_inner() { |
| VertexOutput tint_symbol = (VertexOutput)0; |
| tint_symbol.pos = (0.0f).xxxx; |
| modf_c15f48(); |
| VertexOutput v = tint_symbol; |
| return v; |
| } |
| |
| vertex_main_outputs vertex_main() { |
| VertexOutput v_1 = vertex_main_inner(); |
| vertex_main_outputs v_2 = {v_1.pos}; |
| return v_2; |
| } |
| |