Searched refs:BranchTarget (Results 1 - 12 of 12) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprogram.c369 if (inst->BranchTarget > 0) {
370 if ((GLuint)inst->BranchTarget >= start) {
371 inst->BranchTarget += count;
419 if (inst->BranchTarget > 0) {
420 if (inst->BranchTarget > (GLint) start) {
421 inst->BranchTarget -= count;
H A Dprog_execute.c445 assert(program->arb.Instructions[inst->BranchTarget].Opcode
450 assert(program->arb.Instructions[inst->BranchTarget].Opcode
452 pc = inst->BranchTarget - 1; /* go to matching BNGLOOP */
459 assert(program->arb.Instructions[inst->BranchTarget].Opcode
463 pc = inst->BranchTarget;
466 assert(program->arb.Instructions[inst->BranchTarget].Opcode
470 pc = inst->BranchTarget - 1;
479 pc = inst->BranchTarget - 1;
649 assert(program->arb.Instructions[inst->BranchTarget].Opcode
651 program->arb.Instructions[inst->BranchTarget]
[all...]
H A Dprog_print.c700 fprintf(f, " # (if false, goto %d)", inst->BranchTarget);
704 fprintf(f, "ELSE; # (goto %d)\n", inst->BranchTarget);
710 fprintf(f, "BGNLOOP; # (end at %d)\n", inst->BranchTarget);
713 fprintf(f, "ENDLOOP; # (goto %d)\n", inst->BranchTarget);
719 inst->BranchTarget);
734 fprintf(f, "CAL %u", inst->BranchTarget);
H A Dprog_instruction.h256 GLint BranchTarget; member in struct:prog_instruction
H A Dir_to_mesa.cpp187 * the function body. So we make the BranchTarget that is called a
2293 mesa_instructions[i].BranchTarget = -1;
2310 mesa_instructions[if_stack[if_stack_pos - 1]].BranchTarget = i;
2314 mesa_instructions[if_stack[if_stack_pos - 1]].BranchTarget = i;
2324 * already had a BranchTarget assigned) to point to the end
2330 if (mesa_instructions[j].BranchTarget == -1) {
2331 mesa_instructions[j].BranchTarget = i;
2336 mesa_instructions[i].BranchTarget = loop_stack[loop_stack_pos];
2337 mesa_instructions[loop_stack[loop_stack_pos]].BranchTarget = i;
2341 if (entry->sig_id == mesa_instructions[i].BranchTarget) {
[all...]
H A Dprog_optimize.c976 loopStack[loopStackDepth].End = inst->BranchTarget;
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprog_execute.c445 assert(program->arb.Instructions[inst->BranchTarget].Opcode
450 assert(program->arb.Instructions[inst->BranchTarget].Opcode
452 pc = inst->BranchTarget - 1; /* go to matching BNGLOOP */
459 assert(program->arb.Instructions[inst->BranchTarget].Opcode
463 pc = inst->BranchTarget;
466 assert(program->arb.Instructions[inst->BranchTarget].Opcode
470 pc = inst->BranchTarget - 1;
479 pc = inst->BranchTarget - 1;
649 assert(program->arb.Instructions[inst->BranchTarget].Opcode
651 program->arb.Instructions[inst->BranchTarget]
[all...]
H A Dprog_print.c703 fprintf(f, " # (if false, goto %d)", inst->BranchTarget);
707 fprintf(f, "ELSE; # (goto %d)\n", inst->BranchTarget);
713 fprintf(f, "BGNLOOP; # (end at %d)\n", inst->BranchTarget);
716 fprintf(f, "ENDLOOP; # (goto %d)\n", inst->BranchTarget);
722 inst->BranchTarget);
737 fprintf(f, "CAL %u", inst->BranchTarget);
H A Dprogram.c359 if (inst->BranchTarget > 0) {
360 if ((GLuint)inst->BranchTarget >= start) {
361 inst->BranchTarget += count;
409 if (inst->BranchTarget > 0) {
410 if (inst->BranchTarget > (GLint) start) {
411 inst->BranchTarget -= count;
H A Dprog_instruction.h256 GLint BranchTarget; member in struct:prog_instruction
H A Dir_to_mesa.cpp187 * the function body. So we make the BranchTarget that is called a
2240 mesa_instructions[i].BranchTarget = -1;
2257 mesa_instructions[if_stack[if_stack_pos - 1]].BranchTarget = i;
2261 mesa_instructions[if_stack[if_stack_pos - 1]].BranchTarget = i;
2271 * already had a BranchTarget assigned) to point to the end
2277 if (mesa_instructions[j].BranchTarget == -1) {
2278 mesa_instructions[j].BranchTarget = i;
2283 mesa_instructions[i].BranchTarget = loop_stack[loop_stack_pos];
2284 mesa_instructions[loop_stack[loop_stack_pos]].BranchTarget = i;
2288 if (entry->sig_id == mesa_instructions[i].BranchTarget) {
[all...]
H A Dprog_optimize.c976 loopStack[loopStackDepth].End = inst->BranchTarget;

Completed in 25 milliseconds