Searched refs:invma (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 843 LLVMValueRef invma; in ac_prepare_cube_coords() local 878 invma = in ac_prepare_cube_coords() 880 invma = ac_build_fdiv(ctx, LLVMConstReal(ctx->f32, 1.0), invma); in ac_prepare_cube_coords() 883 coords[i] = LLVMBuildFMul(builder, selcoords.stc[i], invma, ""); in ac_prepare_cube_coords() 919 deriv_ma = LLVMBuildFMul(builder, deriv_ma, invma, ""); in ac_prepare_cube_coords() 923 LLVMBuildFSub(builder, LLVMBuildFMul(builder, deriv_st[i], invma, ""), in ac_prepare_cube_coords()
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 9159 Temp invma = bld.tmp(v1); in prepare_cube_coords() local 9160 vop3a->definitions[0] = Definition(invma); in prepare_cube_coords() 9165 sc = bld.vop2(madak, bld.def(v1), sc, invma, Operand::c32(0x3fc00000u /*1.5*/)); in prepare_cube_coords() 9169 tc = bld.vop2(madak, bld.def(v1), tc, invma, Operand::c32(0x3fc00000u /*1.5*/)); in prepare_cube_coords() 9174 sc = bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), sc, invma); in prepare_cube_coords() 9175 tc = bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), tc, invma); in prepare_cube_coords() 9183 deriv_ma = bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), deriv_ma, invma); in prepare_cube_coords() 9186 bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), deriv_sc, invma), in prepare_cube_coords() 9189 bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), deriv_tc, invma), in prepare_cube_coords()
|