Searched refs:ffma (Results 1 – 2 of 2) sorted by relevance
237 nir_alu_instr *ffma = nir_alu_instr_create(b->shader, nir_op_ffma); in brw_nir_opt_peephole_ffma_block() local238 ffma->dest.saturate = add->dest.saturate; in brw_nir_opt_peephole_ffma_block()239 ffma->dest.write_mask = add->dest.write_mask; in brw_nir_opt_peephole_ffma_block()242 ffma->src[i].src = nir_src_for_ssa(mul_src[i]); in brw_nir_opt_peephole_ffma_block()244 ffma->src[i].swizzle[j] = mul->src[i].swizzle[swizzle[j]]; in brw_nir_opt_peephole_ffma_block()246 nir_alu_src_copy(&ffma->src[2], &add->src[1 - add_mul_src], ffma); in brw_nir_opt_peephole_ffma_block()250 nir_ssa_dest_init(&ffma->instr, &ffma->dest.dest, in brw_nir_opt_peephole_ffma_block()255 nir_src_for_ssa(&ffma->dest.dest.ssa)); in brw_nir_opt_peephole_ffma_block()257 nir_builder_instr_insert(b, &ffma->instr); in brw_nir_opt_peephole_ffma_block()
767 define void @ffma(float %b, float %c) {769 ; ALL-LABEL: ffma: