Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/llvm/
Dac_llvm_build.c794 LLVMValueRef invma; in ac_prepare_cube_coords() local
829 invma = in ac_prepare_cube_coords()
831 invma = ac_build_fdiv(ctx, LLVMConstReal(ctx->f32, 1.0), invma); in ac_prepare_cube_coords()
834 coords[i] = LLVMBuildFMul(builder, selcoords.stc[i], invma, ""); in ac_prepare_cube_coords()
870 deriv_ma = LLVMBuildFMul(builder, deriv_ma, invma, ""); in ac_prepare_cube_coords()
874 LLVMBuildFSub(builder, LLVMBuildFMul(builder, deriv_st[i], invma, ""), in ac_prepare_cube_coords()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp8590 Temp invma = bld.tmp(v1); in prepare_cube_coords() local
8591 vop3a->definitions[0] = Definition(invma); in prepare_cube_coords()
8596 sc = bld.vop2(madak, bld.def(v1), sc, invma, Operand(0x3fc00000u/*1.5*/)); in prepare_cube_coords()
8600 tc = bld.vop2(madak, bld.def(v1), tc, invma, Operand(0x3fc00000u/*1.5*/)); in prepare_cube_coords()
8605 sc = bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), sc, invma); in prepare_cube_coords()
8606 tc = bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), tc, invma); in prepare_cube_coords()
8615 deriv_ma = bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), deriv_ma, invma); in prepare_cube_coords()
8618 bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), deriv_sc, invma), in prepare_cube_coords()
8621 bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), deriv_tc, invma), in prepare_cube_coords()