Lines Matching refs:flow_control

58     auto evaluate_condition = [&state](Instruction::FlowControlType flow_control) {  in RunInterpreter()  argument
61 bool result_x = flow_control.refx.Value() == state.conditional_code[0]; in RunInterpreter()
62 bool result_y = flow_control.refy.Value() == state.conditional_code[1]; in RunInterpreter()
64 switch (flow_control.op) { in RunInterpreter()
552 if (evaluate_condition(instr.flow_control)) { in RunInterpreter()
553 program_counter = instr.flow_control.dest_offset - 1; in RunInterpreter()
559 debug_data, iteration, uniforms.b[instr.flow_control.bool_uniform_id]); in RunInterpreter()
561 if (uniforms.b[instr.flow_control.bool_uniform_id] == in RunInterpreter()
562 !(instr.flow_control.num_instructions & 1)) { in RunInterpreter()
563 program_counter = instr.flow_control.dest_offset - 1; in RunInterpreter()
568 call(instr.flow_control.dest_offset, instr.flow_control.num_instructions, in RunInterpreter()
574 debug_data, iteration, uniforms.b[instr.flow_control.bool_uniform_id]); in RunInterpreter()
575 if (uniforms.b[instr.flow_control.bool_uniform_id]) { in RunInterpreter()
576 call(instr.flow_control.dest_offset, instr.flow_control.num_instructions, in RunInterpreter()
583 if (evaluate_condition(instr.flow_control)) { in RunInterpreter()
584 call(instr.flow_control.dest_offset, instr.flow_control.num_instructions, in RunInterpreter()
594 debug_data, iteration, uniforms.b[instr.flow_control.bool_uniform_id]); in RunInterpreter()
595 if (uniforms.b[instr.flow_control.bool_uniform_id]) { in RunInterpreter()
596 call(program_counter + 1, instr.flow_control.dest_offset - program_counter - 1, in RunInterpreter()
597 instr.flow_control.dest_offset + instr.flow_control.num_instructions, 0, in RunInterpreter()
600 call(instr.flow_control.dest_offset, instr.flow_control.num_instructions, in RunInterpreter()
601 instr.flow_control.dest_offset + instr.flow_control.num_instructions, 0, in RunInterpreter()
611 if (evaluate_condition(instr.flow_control)) { in RunInterpreter()
612 call(program_counter + 1, instr.flow_control.dest_offset - program_counter - 1, in RunInterpreter()
613 instr.flow_control.dest_offset + instr.flow_control.num_instructions, 0, in RunInterpreter()
616 call(instr.flow_control.dest_offset, instr.flow_control.num_instructions, in RunInterpreter()
617 instr.flow_control.dest_offset + instr.flow_control.num_instructions, 0, in RunInterpreter()
625 Common::Vec4<u8> loop_param(uniforms.i[instr.flow_control.int_uniform_id].x, in RunInterpreter()
626 uniforms.i[instr.flow_control.int_uniform_id].y, in RunInterpreter()
627 uniforms.i[instr.flow_control.int_uniform_id].z, in RunInterpreter()
628 uniforms.i[instr.flow_control.int_uniform_id].w); in RunInterpreter()
632 call(program_counter + 1, instr.flow_control.dest_offset - program_counter, in RunInterpreter()
633 instr.flow_control.dest_offset + 1, loop_param.x, loop_param.z); in RunInterpreter()