Home
last modified time | relevance | path

Searched refs:if_inst (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_eu_emit.c1156 struct brw_instruction *if_inst, in convert_IF_ELSE_to_ADD() argument
1163 assert(if_inst != NULL && if_inst->header.opcode == BRW_OPCODE_IF); in convert_IF_ELSE_to_ADD()
1165 assert(if_inst->header.execution_size == BRW_EXECUTE_1); in convert_IF_ELSE_to_ADD()
1175 if_inst->header.opcode = BRW_OPCODE_ADD; in convert_IF_ELSE_to_ADD()
1176 if_inst->header.predicate_inverse = 1; in convert_IF_ELSE_to_ADD()
1184 if_inst->bits3.ud = (else_inst - if_inst + 1) * 16; in convert_IF_ELSE_to_ADD()
1187 if_inst->bits3.ud = (next_inst - if_inst) * 16; in convert_IF_ELSE_to_ADD()
1196 struct brw_instruction *if_inst, in patch_IF_ELSE() argument
1217 assert(if_inst != NULL && if_inst->header.opcode == BRW_OPCODE_IF); in patch_IF_ELSE()
1229 endif_inst->header.execution_size = if_inst->header.execution_size; in patch_IF_ELSE()
[all …]
Dbrw_vs_emit.c2055 struct brw_instruction *if_inst = brw_IF(p, BRW_EXECUTE_8); in brw_old_vs_emit() local
2057 if_inst->header.predicate_control = get_predicate(inst); in brw_old_vs_emit()
/external/mesa3d/src/glsl/
Dlower_discard_flow.cpp122 ir_if *if_inst = new(mem_ctx) ir_if(if_condition); in generate_discard_break() local
125 if_inst->then_instructions.push_tail(br); in generate_discard_break()
127 return if_inst; in generate_discard_break()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_alu.c1244 struct rc_instruction * if_inst; in rc_transform_KILP() local
1250 for (if_inst = inst->Prev; if_inst != &c->Program.Instructions; in rc_transform_KILP()
1251 if_inst = if_inst->Prev) { in rc_transform_KILP()
1253 if (if_inst->U.I.Opcode == RC_OPCODE_IF) { in rc_transform_KILP()
1267 negate(absolute(if_inst->U.I.SrcReg[0])); in rc_transform_KILP()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp2176 ir_to_mesa_instruction *cond_inst, *if_inst; in visit() local
2197 if_inst = emit(ir->condition, OPCODE_IF); in visit()
2198 if_inst->dst.cond_mask = COND_NE; in visit()
2200 if_inst = emit(ir->condition, OPCODE_IF, undef_dst, this->result); in visit()
2203 this->instructions.push_tail(if_inst); in visit()
2212 if_inst = emit(ir->condition, OPCODE_ENDIF); in visit()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp2814 glsl_to_tgsi_instruction *cond_inst, *if_inst; in visit() local
2835 if_inst = emit(ir->condition, TGSI_OPCODE_IF); in visit()
2836 if_inst->dst.cond_mask = COND_NE; in visit()
2838 if_inst = emit(ir->condition, TGSI_OPCODE_IF, undef_dst, this->result); in visit()
2841 this->instructions.push_tail(if_inst); in visit()
2850 if_inst = emit(ir->condition, TGSI_OPCODE_ENDIF); in visit()