Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/compiler/
Dbrw_vec4_nir.cpp771 nir_alu_instr *cmp_instr = in optimize_predicate() local
774 switch (cmp_instr->op) { in optimize_predicate()
796 brw_swizzle_for_size(nir_op_infos[cmp_instr->op].input_sizes[0]); in optimize_predicate()
799 assert(nir_op_infos[cmp_instr->op].num_inputs == 2); in optimize_predicate()
801 nir_alu_type type = nir_op_infos[cmp_instr->op].input_types[i]; in optimize_predicate()
802 unsigned bit_size = nir_src_bit_size(cmp_instr->src[i].src); in optimize_predicate()
804 op[i] = get_nir_src(cmp_instr->src[i].src, type, 4); in optimize_predicate()
806 brw_swizzle_for_nir_swizzle(cmp_instr->src[i].swizzle); in optimize_predicate()
811 brw_cmod_for_nir_comparison(cmp_instr->op))); in optimize_predicate()