Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_comparison_pre.c182 nir_alu_instr *mov_cmp = nir_alu_instr_create(bld->shader, nir_op_mov); in rewrite_compare_instruction() local
183 mov_cmp->dest.write_mask = orig_cmp->dest.write_mask; in rewrite_compare_instruction()
184 nir_ssa_dest_init(&mov_cmp->instr, &mov_cmp->dest.dest, in rewrite_compare_instruction()
187 mov_cmp->src[0].src = nir_src_for_ssa(cmp); in rewrite_compare_instruction()
189 nir_builder_instr_insert(bld, &mov_cmp->instr); in rewrite_compare_instruction()
192 &mov_cmp->dest.dest.ssa); in rewrite_compare_instruction()