/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_point.c | 54 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 in texcoord_coef() [all...] |
H A D | lp_state_fs_linear.c | 70 __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)[ in blit_rgb1() 354 blit_rgba_blit(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) blit_rgba_blit() argument 406 blit_rgb1_blit(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) blit_rgb1_blit() argument 466 blit_rgba(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) blit_rgba() argument 505 blit_rgb1(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) blit_rgb1() argument 549 blit_rgba_blend_premul(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) blit_rgba_blend_premul() argument 588 linear_red(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) linear_red() argument 618 linear_no_op(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) linear_no_op() argument [all...] |
H A D | lp_linear_fastpath.c | 65 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() 60 lp_linear_blit_rgba_blit(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) lp_linear_blit_rgba_blit() argument 109 lp_linear_blit_rgb1_blit(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) lp_linear_blit_rgb1_blit() argument 165 lp_linear_purple(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) lp_linear_purple() argument
|
H A D | lp_setup_line.c | 56 float (*dady)[4]; member 71 info->dady[slot][i] = 0.0f; in constant_coef() 76 * Compute a0, dadx and dady for a linearly interpolated coefficient, 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() 102 * Compute a0, dadx and dady for a perspective-corrected interpolant, 105 * the plane coefficients (a0, dadx, dady). 122 float dady in perspective_coef() local [all...] |
H A D | lp_linear_interp.c | 89 interp->a0 = _mm_add_epi16(interp->a0, interp->dady); in interp_0_8() 127 const float *dady) in lp_linear_init_interp() 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() 120 lp_linear_init_interp(struct lp_linear_interp *interp, int x, int y, int width, int height, unsigned usage_mask, boolean perspective, float oow, const float *a0, const float *dadx, const float *dady) lp_linear_init_interp() argument 229 lp_linear_init_interp(struct lp_linear_interp *interp, int x, int y, int width, int height, unsigned usage_mask, boolean perspective, float oow, const float *a0, const float *dadx, const float *dady) lp_linear_init_interp() argument
|
H A D | lp_state_setup.c | 72 LLVMValueRef dady; member 93 LLVMValueRef dady) in store_coef() 107 dady, in store_coef() 108 LLVMBuildGEP(builder, args->dady, &idx, 1, "")); in store_coef() 393 /* Calculate dady (vec4f) in calc_coef4() 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() 438 * Compute a0, dadx and dady fo 88 store_coef(struct gallivm_state *gallivm, const struct lp_setup_args *args, unsigned slot, LLVMValueRef a0, LLVMValueRef dadx, LLVMValueRef dady) store_coef() argument 917 float dady = sdady[0][i]; lp_dump_setup_coef() local 929 float dady = sdady[1 + slot][i]; lp_dump_setup_coef() local [all...] |
H A D | lp_linear_priv.h | 58 __m128i dady; member 137 const float *dady); 147 const float (*dady)[4]);
|
H A D | lp_bld_interp.c | 99 * a = a0 + dadx*x + dady*y 108 * da'dy = (dady - dwdy*a)*oow 325 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() 388 * a = a0 + (x * dadx + y * dady) 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() 480 * a = a0 + (x * dadx + y * dady) in lp_build_interp_soa_indirect() 601 LLVMValueRef dady = coeff_bld->zero; lp_build_interp_soa() local [all...] |
H A D | lp_state_fs_fastpath.c | 52 const void *dady, in no_op() 150 const void *dady, in red() 177 const void *dady, in green() 46 no_op(const struct lp_jit_context *context, uint32_t x, uint32_t y, uint32_t facing, const void *a0, const void *dadx, const void *dady, uint8_t **cbufs, uint8_t *depth, uint64_t mask, struct lp_jit_thread_data *thread_data, unsigned *strides, unsigned depth_stride, unsigned *color_sample_stride, unsigned depth_sample_stride) no_op() argument 144 red(const struct lp_jit_context *context, uint32_t x, uint32_t y, uint32_t facing, const void *a0, const void *dadx, const void *dady, uint8_t **cbufs, uint8_t *depth, uint64_t int_mask, struct lp_jit_thread_data *thread_data, unsigned *strides, unsigned depth_stride, unsigned *sample_stride, unsigned depth_sample_stride) red() argument 171 green(const struct lp_jit_context *context, uint32_t x, uint32_t y, uint32_t facing, const void *a0, const void *dadx, const void *dady, uint8_t **cbufs, uint8_t *depth, uint64_t int_mask, struct lp_jit_thread_data *thread_data, unsigned *strides, unsigned depth_stride, unsigned *sample_stride, unsigned depth_sample_stride) green() argument
|
H A D | lp_linear.c | 82 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() 77 lp_fs_linear_run(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) lp_fs_linear_run() argument
|
H A D | lp_state_setup.h | 46 float (*dady)[4], 53 * attribute interpolants (a0, dadx, dady) from three of those
|
H A D | lp_jit.h | 305 * @param dady shader input dady 320 const void *dady, 414 const float (*dady)[4],
|
H A D | lp_linear_sampler.c | 724 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() 717 lp_linear_init_sampler(struct lp_linear_sampler *samp, const struct lp_tgsi_texture_info *info, const struct lp_sampler_static_state *sampler_state, const struct lp_jit_texture *texture, int x0, int y0, int width, int height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4]) lp_linear_init_sampler() argument
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_fs_exec.c | 97 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()
|
H A D | sp_setup.c | 413 coef->dady[i] = 0; in const_coeff() 422 * Compute a0, dadx and dady for a linearly interpolated coefficient, 437 float dady = b * setup->oneoverarea; in tri_linear_coeff() local 442 coef->dady[i] = dady; in tri_linear_coeff() 449 * triangles with very large values of dadx or dady as it will in tri_linear_coeff() 458 dady * (setup->vmin[0][1] - setup->pixel_offset))); in tri_linear_coeff() 463 * Compute a0, dadx and dady for a perspective-corrected interpolant, 466 * the plane coefficients (a0, dadx, dady). 487 float dady in tri_persp_coeff() local 842 const float dady = da * setup->emaj.dy * setup->oneoverarea; line_linear_coeff() local 866 const float dady = da * setup->emaj.dy * setup->oneoverarea; line_persp_coeff() local [all...] |
H A D | sp_quad_depth_test_tmp.h | 59 const float dzdy = quads[0]->posCoef->dady[2]; in NAME()
|
H A D | sp_quad_depth_test.c | 139 const float dzdy = quad->posCoef->dady[2]; in interpolate_quad_depth()
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_exec.h | 97 float dady[TGSI_NUM_CHANNELS]; member
|
H A D | tgsi_exec.c | 2695 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[cha in interp_perspective_offset() local 2753 const float dady = mach->InterpCoefs[attrib].dady[chan]; eval_perspective_coef() local [all...] |