Home
last modified time | relevance | path

Searched refs:insn_num (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/
Dsm4_analyze.cpp42 for(unsigned insn_num = 0; insn_num < program.insns.size(); ++insn_num) in sm4_link_cf_insns() local
45 switch(program.insns[insn_num]->opcode) in sm4_link_cf_insns()
48 cf_stack.push_back(insn_num); in sm4_link_cf_insns()
54 cf_insn_linked[v] = insn_num; in sm4_link_cf_insns()
55 cf_insn_linked[insn_num] = v; in sm4_link_cf_insns()
60 cf_insn_linked[insn_num] = insn_num; // later changed in sm4_link_cf_insns()
61 cf_stack.push_back(insn_num); in sm4_link_cf_insns()
67 if(program.insns[insn_num]->opcode == SM4_OPCODE_ELSE) in sm4_link_cf_insns()
71 cf_insn_linked[insn_num] = cf_insn_linked[v]; // later changed in sm4_link_cf_insns()
72 cf_insn_linked[v] = insn_num; in sm4_link_cf_insns()
[all …]
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d1x/
Dsm4_to_tgsi.cpp242 …); label_to_sm4_insn_num.push_back(std::make_pair(label, program.cf_insn_linked[insn_num])); break;
246 for(unsigned insn_num = begin; insn_num < end; ++insn_num) in translate_insns() local
248 sm4_to_tgsi_insn_num[insn_num] = ureg_get_instruction_number(ureg); in translate_insns()
250 insn = program.insns[insn_num]; in translate_insns()
388 if(in_sub || insn_num != (program.insns.size() - 1)) in translate_insns()
412 label_to_sm4_insn_num.push_back(std::make_pair(label, program.cf_insn_linked[insn_num])); in translate_insns()
416 unsigned linked = program.cf_insn_linked[insn_num]; in translate_insns()
440 translate_insns(insn_num + 1, linked); in translate_insns()
442 insn_num = endif - 1; in translate_insns()
648 for(unsigned insn_num = 0; insn_num < program.dcls.size(); ++insn_num) in do_translate() local
[all …]