/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_point.c | 53 float (*dadx)[4]; member 71 info->dadx[slot][i] = 0.0f; in constant_coef() 94 info->dadx[slot][i] = 0.0f; in point_persp_coeff() 120 float dadx = FIXED_ONE / (float)info->dx12; in texcoord_coef() local 125 info->dadx[slot][0] = dadx; in texcoord_coef() 127 info->a0[slot][0] = 0.5 - (dadx * x0 + dady * y0); in texcoord_coef() 130 info->dadx[slot][0] *= w0; in texcoord_coef() 136 float dadx = 0.0f; in texcoord_coef() local 145 info->dadx[slot][1] = dadx; in texcoord_coef() 147 info->a0[slot][1] = 0.5 - (dadx * x0 + dady * y0); in texcoord_coef() [all …]
|
D | lp_setup_line.c | 55 float (*dadx)[4]; member 70 info->dadx[slot][i] = 0.0f; in constant_coef() 89 float dadx = da21 * info->dx * info->oneoverarea; in linear_coef() local 92 info->dadx[slot][i] = dadx; in linear_coef() 96 (dadx * (info->v1[0][0] - setup->pixel_offset) + in linear_coef() 121 float dadx = da21 * info->dx * info->oneoverarea; in perspective_coef() local 124 info->dadx[slot][i] = dadx; in perspective_coef() 128 (dadx * (info->v1[0][0] - setup->pixel_offset) + in perspective_coef() 141 info->dadx[slot][0] = 1.0; in setup_fragcoord_coef() 148 info->dadx[slot][1] = 0.0; in setup_fragcoord_coef() [all …]
|
D | lp_bld_interp.c | 318 LLVMValueRef dadx = coeff_bld->zero; in attribs_update_simple() local 330 dadx = coeff_bld->one; in attribs_update_simple() 351 dadx = lp_build_extract_broadcast(gallivm, setup_bld->type, in attribs_update_simple() 384 a = lp_build_fmuladd(builder, dadx, chan_pixoffx, a); in attribs_update_simple() 447 LLVMValueRef dadx = coeff_bld->zero; in lp_build_interp_soa_indirect() local 467 dadx = lp_build_gather(gallivm, coeff_bld->type.length, in lp_build_interp_soa_indirect() 482 a = lp_build_fmuladd(builder, dadx, pixoffx, a); in lp_build_interp_soa_indirect() 599 LLVMValueRef dadx = coeff_bld->zero; in lp_build_interp_soa() local 609 dadx = lp_build_extract_broadcast(gallivm, setup_bld->type, in lp_build_interp_soa() 624 a = lp_build_fmuladd(builder, dadx, pixoffx, a); in lp_build_interp_soa()
|
D | lp_state_setup.c | 72 LLVMValueRef dadx; member 92 LLVMValueRef dadx, in store_coef() argument 103 dadx, in store_coef() 104 LLVMBuildGEP(builder, args->dadx, &idx, 1, "")); in store_coef() 418 LLVMValueRef dadx = LLVMBuildFSub(b, da01_dy20_ooa, da20_dy01_ooa, "dadx"); in emit_coef4() local 428 LLVMValueRef dadx_x0 = LLVMBuildFMul(b, dadx, x0_center, "dadx_x0"); in emit_coef4() 433 store_coef(gallivm, args, slot, attr_0, dadx, dady); in emit_coef4() 775 args.dadx = LLVMGetParam(variant->function, 5); in generate_setup_variant() 783 lp_build_name(args.dadx, "out_dadx"); in generate_setup_variant() 997 float dadx = sdadx[0][i]; in lp_dump_setup_coef() local [all …]
|
D | lp_state_setup.h | 44 float (*dadx)[4],
|
D | lp_jit.h | 300 const void *dadx,
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_fs_exec.c | 96 const float dadx = coef->dadx[chan]; in setup_pos_vector() local 98 const float a0 = coef->a0[chan] + dadx * x + dady * y; in setup_pos_vector() 100 quadpos->xyzw[chan].f[1] = a0 + dadx; in setup_pos_vector() 102 quadpos->xyzw[chan].f[3] = a0 + dadx + dady; in setup_pos_vector()
|
D | sp_setup.c | 458 coef->dadx[i] = 0; in const_coeff() 482 float dadx = a * setup->oneoverarea; in tri_linear_coeff() local 487 coef->dadx[i] = dadx; in tri_linear_coeff() 503 (dadx * (setup->vmin[0][0] - setup->pixel_offset) + in tri_linear_coeff() 532 float dadx = a * setup->oneoverarea; in tri_persp_coeff() local 537 coef->dadx[i] = dadx; in tri_persp_coeff() 540 (dadx * (setup->vmin[0][0] - setup->pixel_offset) + in tri_persp_coeff() 562 setup->coef[slot].dadx[0] = 1.0f; in setup_fragcoord_coeff() 568 setup->coef[slot].dadx[1] = 0.0f; in setup_fragcoord_coeff() 572 setup->coef[slot].dadx[2] = setup->posCoef.dadx[2]; in setup_fragcoord_coeff() [all …]
|
D | sp_quad_depth_test_tmp.h | 58 const float dzdx = quads[0]->posCoef->dadx[2]; in NAME()
|
D | sp_quad_depth_test.c | 138 const float dzdx = quad->posCoef->dadx[2]; in interpolate_quad_depth()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_exec.h | 96 float dadx[TGSI_NUM_CHANNELS]; member
|
D | tgsi_exec.c | 2911 const float dadx = mach->InterpCoefs[attrib].dadx[chan]; in interp_linear_offset() local 2913 const float delta = ofs_x * dadx + ofs_y * dady; in interp_linear_offset() 2927 const float dadx = mach->InterpCoefs[attrib].dadx[chan]; in eval_linear_coef() local 2929 const float a0 = mach->InterpCoefs[attrib].a0[chan] + dadx * x + dady * y; in eval_linear_coef() 2932 mach->Inputs[attrib].xyzw[chan].f[1] = a0 + dadx; in eval_linear_coef() 2934 mach->Inputs[attrib].xyzw[chan].f[3] = a0 + dadx + dady; in eval_linear_coef() 2951 const float dadx = mach->InterpCoefs[attrib].dadx[chan]; in interp_perspective_offset() local 2954 const float delta = ofs_x * dadx + ofs_y * dady; in interp_perspective_offset() 2969 const float dadx = mach->InterpCoefs[attrib].dadx[chan]; in eval_perspective_coef() local 2971 const float a0 = mach->InterpCoefs[attrib].a0[chan] + dadx * x + dady * y; in eval_perspective_coef() [all …]
|