Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_point.c54 float (*dady)[4]; member
72 info->dady[slot][i] = 0.0f; in constant_coef()
95 info->dady[slot][i] = 0.0f; in point_persp_coeff()
121 float dady = 0.0f; in texcoord_coef() local
126 info->dady[slot][0] = dady; in texcoord_coef()
127 info->a0[slot][0] = 0.5 - (dadx * x0 + dady * y0); in texcoord_coef()
131 info->dady[slot][0] *= w0; in texcoord_coef()
137 float dady = FIXED_ONE / (float)info->dx12; in texcoord_coef() local
142 dady = -dady; in texcoord_coef()
146 info->dady[slot][1] = dady; in texcoord_coef()
[all …]
Dlp_state_fs_linear.c70 __m128i dady; member
359 const float (*dady)[4], in blit_rgba_blit()
375 dady[0][3] != 0.0) in blit_rgba_blit()
411 const float (*dady)[4], in blit_rgb1_blit()
427 dady[0][3] != 0.0) in blit_rgb1_blit()
471 const float (*dady)[4], in blit_rgba()
484 a0[1][0], dadx[1][0], dady[1][0], in blit_rgba()
485 a0[1][1], dadx[1][1], dady[1][1], in blit_rgba()
486 a0[0][3], dadx[0][3], dady[0][3])) in blit_rgba()
510 const float (*dady)[4], in blit_rgb1()
[all …]
Dlp_linear_interp.c89 interp->a0 = _mm_add_epi16(interp->a0, interp->dady); in interp_0_8()
127 const float *dady) in lp_linear_init_interp() argument
149 dsdy[j] = dady[j] * oow; in lp_linear_init_interp()
157 dsdy[j] = dady[j]; in lp_linear_init_interp()
208 interp->dady = _mm_setr_epi16(dsdy_fp[2], dsdy_fp[1], dsdy_fp[0], dsdy_fp[3], in lp_linear_init_interp()
236 const float *dady) in lp_linear_init_interp() argument
Dlp_linear_fastpath.c65 const float (*dady)[4], in lp_linear_blit_rgba_blit()
78 dady[0][3] != 0.0) in lp_linear_blit_rgba_blit()
114 const float (*dady)[4], in lp_linear_blit_rgb1_blit()
127 dady[0][3] != 0.0) in lp_linear_blit_rgb1_blit()
170 const float (*dady)[4], in lp_linear_purple()
Dlp_setup_line.c56 float (*dady)[4]; member
71 info->dady[slot][i] = 0.0f; in constant_coef()
90 float dady = da21 * info->dy * info->oneoverarea; in linear_coef() local
93 info->dady[slot][i] = dady; in linear_coef()
97 dady * (info->v1[0][1] - setup->pixel_offset))); in linear_coef()
122 float dady = da21 * info->dy * info->oneoverarea; in perspective_coef() local
125 info->dady[slot][i] = dady; in perspective_coef()
129 dady * (info->v1[0][1] - setup->pixel_offset))); in perspective_coef()
142 info->dady[slot][0] = 0.0; in setup_fragcoord_coef()
149 info->dady[slot][1] = 1.0; in setup_fragcoord_coef()
[all …]
Dlp_state_setup.c72 LLVMValueRef dady; member
93 LLVMValueRef dady) in store_coef() argument
107 dady, in store_coef()
108 LLVMBuildGEP(builder, args->dady, &idx, 1, "")); in store_coef()
397 LLVMValueRef dady = LLVMBuildFSub(b, da20_dx01_ooa, da01_dx20_ooa, "dady"); in calc_coef4() local
402 LLVMValueRef dady_y0 = LLVMBuildFMul(b, dady, y0_center, "dady_y0"); in calc_coef4()
408 out[2] = dady; in calc_coef4()
695 args.dady = LLVMGetParam(variant->function, 6); in generate_setup_variant()
704 lp_build_name(args.dady, "out_dady"); in generate_setup_variant()
917 float dady = sdady[0][i]; in lp_dump_setup_coef() local
[all …]
Dlp_linear_priv.h58 __m128i dady; member
137 const float *dady);
147 const float (*dady)[4]);
Dlp_bld_interp.c325 LLVMValueRef dady = coeff_bld->zero; in attribs_update_simple() local
346 dady = coeff_bld->one; in attribs_update_simple()
360 dady = lp_build_extract_broadcast(gallivm, setup_bld->type, in attribs_update_simple()
391 a = lp_build_fmuladd(builder, dady, chan_pixoffy, a); in attribs_update_simple()
448 LLVMValueRef dady = coeff_bld->zero; in lp_build_interp_soa_indirect() local
471 dady = lp_build_gather(gallivm, coeff_bld->type.length, in lp_build_interp_soa_indirect()
483 a = lp_build_fmuladd(builder, dady, pixoffy, a); in lp_build_interp_soa_indirect()
601 LLVMValueRef dady = coeff_bld->zero; in lp_build_interp_soa() local
614 dady = lp_build_extract_broadcast(gallivm, setup_bld->type, in lp_build_interp_soa()
626 a = lp_build_fmuladd(builder, dady, pixoffy, a); in lp_build_interp_soa()
Dlp_state_fs_fastpath.c52 const void *dady, in no_op() argument
150 const void *dady, in red() argument
177 const void *dady, in green() argument
Dlp_linear.c82 const float (*dady)[4], in lp_fs_linear_run()
95 dady[0][3] != 0.0f) { in lp_fs_linear_run()
153 dady[i+1])) { in lp_fs_linear_run()
185 x, y, width, height, a0, dadx, dady)) { in lp_fs_linear_run()
Dlp_state_setup.h46 float (*dady)[4],
Dlp_jit.h320 const void *dady,
414 const float (*dady)[4],
Dlp_linear_sampler.c724 const float (*dady)[4]) in lp_linear_init_sampler()
737 float dsdy = dady[schan->u.index+foo][schan->swizzle]; in lp_linear_init_sampler()
741 float dtdy = dady[tchan->u.index+foo][tchan->swizzle]; in lp_linear_init_sampler()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c413 coef->dady[i] = 0; in const_coeff()
437 float dady = b * setup->oneoverarea; in tri_linear_coeff() local
442 coef->dady[i] = dady; in tri_linear_coeff()
458 dady * (setup->vmin[0][1] - setup->pixel_offset))); in tri_linear_coeff()
487 float dady = b * setup->oneoverarea; in tri_persp_coeff() local
492 coef->dady[i] = dady; in tri_persp_coeff()
495 dady * (setup->vmin[0][1] - setup->pixel_offset))); in tri_persp_coeff()
517 setup->coef[slot].dady[0] = 0.0f; in setup_fragcoord_coeff()
523 setup->coef[slot].dady[1] = origin_lower_left ? -1.0f : 1.0f; in setup_fragcoord_coeff()
527 setup->coef[slot].dady[2] = setup->posCoef.dady[2]; in setup_fragcoord_coeff()
[all …]
Dsp_fs_exec.c97 const float dady = coef->dady[chan]; in setup_pos_vector() local
98 const float a0 = coef->a0[chan] + dadx * x + dady * y; in setup_pos_vector()
101 quadpos->xyzw[chan].f[2] = a0 + dady; in setup_pos_vector()
102 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.c139 const float dzdy = quad->posCoef->dady[2]; in interpolate_quad_depth()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.h97 float dady[TGSI_NUM_CHANNELS]; member
Dtgsi_exec.c2695 const float dady = mach->InterpCoefs[attrib].dady[chan]; in interp_linear_offset() local
2696 const float delta = ofs_x * dadx + ofs_y * dady; in interp_linear_offset()
2711 const float dady = mach->InterpCoefs[attrib].dady[chan]; in eval_linear_coef() local
2712 const float a0 = mach->InterpCoefs[attrib].a0[chan] + dadx * x + dady * y; in eval_linear_coef()
2716 mach->Inputs[attrib].xyzw[chan].f[2] = a0 + dady; in eval_linear_coef()
2717 mach->Inputs[attrib].xyzw[chan].f[3] = a0 + dadx + dady; in eval_linear_coef()
2735 const float dady = mach->InterpCoefs[attrib].dady[chan]; in interp_perspective_offset() local
2737 const float delta = ofs_x * dadx + ofs_y * dady; in interp_perspective_offset()
2753 const float dady = mach->InterpCoefs[attrib].dady[chan]; in eval_perspective_coef() local
2754 const float a0 = mach->InterpCoefs[attrib].a0[chan] + dadx * x + dady * y; in eval_perspective_coef()
[all …]