Home
last modified time | relevance | path

Searched refs:dady (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_point.c52 float (*dady)[4]; member
68 info->dady[slot][i] = 0.0f; in constant_coef()
91 info->dady[slot][i] = 0.0f; in point_persp_coeff()
117 float dady = 0.0f; in texcoord_coef() local
122 info->dady[slot][0] = dady; in texcoord_coef()
123 info->a0[slot][0] = 0.5 - (dadx * x0 + dady * y0); in texcoord_coef()
127 info->dady[slot][0] *= w0; in texcoord_coef()
133 float dady = FIXED_ONE / (float)info->dx12; in texcoord_coef() local
138 dady = -dady; in texcoord_coef()
142 info->dady[slot][1] = dady; in texcoord_coef()
[all …]
Dlp_setup_line.c53 float (*dady)[4]; member
68 info->dady[slot][i] = 0.0f; in constant_coef()
87 float dady = da21 * info->dy * info->oneoverarea; in linear_coef() local
90 info->dady[slot][i] = dady; in linear_coef()
94 dady * (info->v1[0][1] - setup->pixel_offset))); in linear_coef()
119 float dady = da21 * info->dy * info->oneoverarea; in perspective_coef() local
122 info->dady[slot][i] = dady; in perspective_coef()
126 dady * (info->v1[0][1] - setup->pixel_offset))); in perspective_coef()
139 info->dady[slot][0] = 0.0; in setup_fragcoord_coef()
146 info->dady[slot][1] = 1.0; in setup_fragcoord_coef()
[all …]
Dlp_bld_interp.c281 LLVMValueRef dady = coeff_bld->zero; in attribs_update_simple() local
294 dady = coeff_bld->one; in attribs_update_simple()
300 dady = lp_build_extract_broadcast(gallivm, setup_bld->type, in attribs_update_simple()
311 dady = LLVMBuildFMul(builder, dady, pixoffy, ""); in attribs_update_simple()
313 a = LLVMBuildFAdd(builder, a, dady, ""); in attribs_update_simple()
457 LLVMValueRef dadx, dady; in coeffs_init() local
465 dady = coeff_bld->zero; in coeffs_init()
469 dady = coeff_bld->one; in coeffs_init()
475 dady = lp_build_extract_broadcast(gallivm, setup_bld->type, in coeffs_init()
486 dady = LLVMBuildFMul(builder, dady, pixoffy, ""); in coeffs_init()
[all …]
Dlp_state_setup.c69 LLVMValueRef dady; member
138 LLVMValueRef dady) in store_coef() argument
152 dady, in store_coef()
153 LLVMBuildGEP(builder, args->dady, &idx, 1, "")); in store_coef()
380 LLVMValueRef dady = LLVMBuildFSub(b, da20_dx01_ooa, da01_dx20_ooa, "dady"); in emit_coef4() local
385 LLVMValueRef dady_y0 = LLVMBuildFMul(b, dady, y0_center, "dady_y0"); in emit_coef4()
389 store_coef(gallivm, args, slot, attr_0, dadx, dady); in emit_coef4()
735 args.dady = LLVMGetParam(variant->function, 6); in generate_setup_variant()
743 lp_build_name(args.dady, "out_dady"); in generate_setup_variant()
957 float dady = sdady[0][i]; in lp_dump_setup_coef() local
[all …]
Dlp_state_setup.h42 float (*dady)[4] );
Dlp_jit.h153 const void *dady,
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c468 coef->dady[i] = 0; in const_coeff()
492 float dady = b * setup->oneoverarea; in tri_linear_coeff() local
497 coef->dady[i] = dady; in tri_linear_coeff()
513 dady * (setup->vmin[0][1] - setup->pixel_offset))); in tri_linear_coeff()
550 float dady = b * setup->oneoverarea; in tri_persp_coeff() local
562 coef->dady[i] = dady; in tri_persp_coeff()
565 dady * (setup->vmin[0][1] - setup->pixel_offset))); in tri_persp_coeff()
583 setup->coef[slot].dady[0] = 0.0; in setup_fragcoord_coeff()
589 setup->coef[slot].dady[1] = fsInfo->origin_lower_left ? -1.0 : 1.0; in setup_fragcoord_coeff()
593 setup->coef[slot].dady[2] = setup->posCoef.dady[2]; in setup_fragcoord_coeff()
[all …]
Dsp_fs_exec.c104 const float dady = coef->dady[chan]; in setup_pos_vector() local
105 const float a0 = coef->a0[chan] + dadx * x + dady * y; in setup_pos_vector()
108 quadpos->xyzw[chan].f[2] = a0 + dady; in setup_pos_vector()
109 quadpos->xyzw[chan].f[3] = a0 + dadx + dady; in setup_pos_vector()
Dsp_quad_depth_test_tmp.h59 const float dzdy = quads[0]->posCoef->dady[2]; in NAME()
Dsp_quad_depth_test.c137 const float dzdy = quad->posCoef->dady[2]; in interpolate_quad_depth()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.h88 float dady[TGSI_NUM_CHANNELS]; member
Dtgsi_exec.c2300 const float dady = mach->InterpCoefs[attrib].dady[chan]; in eval_linear_coef() local
2301 const float a0 = mach->InterpCoefs[attrib].a0[chan] + dadx * x + dady * y; in eval_linear_coef()
2304 mach->Inputs[attrib].xyzw[chan].f[2] = a0 + dady; in eval_linear_coef()
2305 mach->Inputs[attrib].xyzw[chan].f[3] = a0 + dadx + dady; in eval_linear_coef()
2321 const float dady = mach->InterpCoefs[attrib].dady[chan]; in eval_perspective_coef() local
2322 const float a0 = mach->InterpCoefs[attrib].a0[chan] + dadx * x + dady * y; in eval_perspective_coef()
2327 mach->Inputs[attrib].xyzw[chan].f[2] = (a0 + dady) / w[2]; in eval_perspective_coef()
2328 mach->Inputs[attrib].xyzw[chan].f[3] = (a0 + dadx + dady) / w[3]; in eval_perspective_coef()