Searched refs:selcoords (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 743 const struct cube_selection_coords *selcoords, in build_cube_select() argument 757 is_ma_positive = LLVMBuildFCmp(builder, LLVMRealUGE, selcoords->ma, LLVMConstReal(f32, 0.0), ""); in build_cube_select() 761 is_ma_z = LLVMBuildFCmp(builder, LLVMRealUGE, selcoords->id, LLVMConstReal(f32, 4.0), ""); in build_cube_select() 765 LLVMBuildFCmp(builder, LLVMRealUGE, selcoords->id, LLVMConstReal(f32, 2.0), ""), ""); in build_cube_select() 792 struct cube_selection_coords selcoords; in ac_prepare_cube_coords() local 827 build_cube_intrinsic(ctx, coords_arg, &selcoords); in ac_prepare_cube_coords() 830 ac_build_intrinsic(ctx, "llvm.fabs.f32", ctx->f32, &selcoords.ma, 1, AC_FUNC_ATTR_READNONE); in ac_prepare_cube_coords() 834 coords[i] = LLVMBuildFMul(builder, selcoords.stc[i], invma, ""); in ac_prepare_cube_coords() 836 coords[2] = selcoords.id; in ac_prepare_cube_coords() 868 build_cube_select(ctx, &selcoords, &derivs_arg[axis * 3], deriv_st, &deriv_ma); in ac_prepare_cube_coords()
|