Searched refs:dady (Results 1 - 25 of 31) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c54 float (*dady)[4]; member in struct:point_info
72 info->dady[slot][i] = 0.0f;
95 info->dady[slot][i] = 0.0f;
121 float dady = 0.0f; local in function:texcoord_coef
126 info->dady[slot][0] = dady;
127 info->a0[slot][0] = 0.5 - (dadx * x0 + dady * y0);
131 info->dady[slot][0] *= w0;
137 float dady = FIXED_ONE / (float)info->dx12; local in function:texcoord_coef
142 dady
[all...]
H A Dlp_state_setup.h44 float (*dady)[4] );
52 * attribute interpolants (a0, dadx, dady) from three of those
H A Dlp_setup_line.c56 float (*dady)[4]; member in struct:lp_line_info
71 info->dady[slot][i] = 0.0f;
76 * Compute a0, dadx and dady for a linearly interpolated coefficient,
90 float dady = da21 * info->dy * info->oneoverarea; local in function:linear_coef
93 info->dady[slot][i] = dady;
97 dady * (info->v1[0][1] - setup->pixel_offset)));
102 * Compute a0, dadx and dady for a perspective-corrected interpolant,
105 * the plane coefficients (a0, dadx, dady).
122 float dady local in function:perspective_coef
[all...]
H A Dlp_state_setup.c73 LLVMValueRef dady; member in struct:lp_setup_args
93 LLVMValueRef dady)
107 dady,
108 LLVMBuildGEP(builder, args->dady, &idx, 1, ""));
420 /* Calculate dady (vec4f)
424 LLVMValueRef dady = LLVMBuildFSub(b, da20_dx01_ooa, da01_dx20_ooa, "dady"); local in function:emit_coef4
429 LLVMValueRef dady_y0 = LLVMBuildFMul(b, dady, y0_center, "dady_y0");
433 store_coef(gallivm, args, slot, attr_0, dadx, dady);
453 * Compute a0, dadx and dady fo
88 store_coef(struct gallivm_state * gallivm,struct lp_setup_args * args,unsigned slot,LLVMValueRef a0,LLVMValueRef dadx,LLVMValueRef dady) argument
997 float dady = sdady[0][i]; local in function:lp_dump_setup_coef
1009 float dady = sdady[1 + slot][i]; local in function:lp_dump_setup_coef
[all...]
H A Dlp_bld_interp.c95 * a = a0 + dadx*x + dady*y
104 * da'dy = (dady - dwdy*a)*oow
275 LLVMValueRef dady = coeff_bld->zero; local in function:attribs_update_simple
291 dady = coeff_bld->one;
300 dady = lp_build_extract_broadcast(gallivm, setup_bld->type,
308 * a = a0 + (x * dadx + y * dady)
311 a = lp_build_fmuladd(builder, dady, pixoffy, a);
441 * a = a0 + (x * dadx + y * dady)
453 * dadq = {0, dadx, dady, dadx + dady}
460 LLVMValueRef dadx, dady; local in function:coeffs_init
[all...]
H A Dlp_jit.h238 * @param dady shader input dady
253 const void *dady,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c54 float (*dady)[4]; member in struct:point_info
72 info->dady[slot][i] = 0.0f;
95 info->dady[slot][i] = 0.0f;
121 float dady = 0.0f; local in function:texcoord_coef
126 info->dady[slot][0] = dady;
127 info->a0[slot][0] = 0.5 - (dadx * x0 + dady * y0);
131 info->dady[slot][0] *= w0;
137 float dady = FIXED_ONE / (float)info->dx12; local in function:texcoord_coef
142 dady
[all...]
H A Dlp_linear_fastpath.c65 const float (*dady)[4],
81 dady[0][3] != 0.0)
117 const float (*dady)[4],
133 dady[0][3] != 0.0)
175 const float (*dady)[4],
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) argument
112 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) argument
170 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) argument
H A Dlp_state_fs_linear.c70 __m128i dady; member in struct:linear_interp
368 const float (*dady)[4],
384 dady[0][3] != 0.0)
420 const float (*dady)[4],
436 dady[0][3] != 0.0)
480 const float (*dady)[4],
493 a0[1][0], dadx[1][0], dady[1][0],
494 a0[1][1], dadx[1][1], dady[1][1],
495 a0[0][3], dadx[0][3], dady[0][3]))
519 const float (*dady)[
363 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) argument
415 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) argument
475 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) argument
514 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) argument
562 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) argument
604 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) argument
634 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) argument
[all...]
H A Dlp_linear_priv.h58 __m128i dady; member in struct:lp_linear_interp
137 const float *dady);
147 const float (*dady)[4]);
H A Dlp_state_setup.h46 float (*dady)[4],
55 * attribute interpolants (a0, dadx, dady) from three of those
H A Dlp_linear_interp.c90 interp->a0 = _mm_add_epi16(interp->a0, interp->dady);
128 const float *dady)
151 dsdy[j] = dady[j] * oow;
159 dsdy[j] = dady[j];
209 interp->dady = _mm_setr_epi16(dsdy_fp[2], dsdy_fp[1], dsdy_fp[0], dsdy_fp[3],
239 const float *dady)
121 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) argument
232 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) argument
H A Dlp_setup_line.c56 float (*dady)[4]; member in struct:lp_line_info
71 info->dady[slot][i] = 0.0f;
76 * Compute a0, dadx and dady for a linearly interpolated coefficient,
90 float dady = da21 * info->dy * info->oneoverarea; local in function:linear_coef
93 info->dady[slot][i] = dady;
97 dady * (info->v1[0][1] - setup->pixel_offset)));
102 * Compute a0, dadx and dady for a perspective-corrected interpolant,
105 * the plane coefficients (a0, dadx, dady).
122 float dady local in function:perspective_coef
[all...]
H A Dlp_state_fs_fastpath.c52 const void *dady,
150 const void *dady,
177 const void *dady,
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) 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) 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) argument
H A Dlp_linear.c79 const float (*dady)[4],
105 dady[0][3] != 0.0f) {
155 dady[i+1])) {
181 a0, dadx, dady)) {
74 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) argument
H A Dlp_state_setup.c73 LLVMValueRef dady; member in struct:lp_setup_args
94 LLVMValueRef dady)
108 dady,
109 LLVMBuildGEP(builder, args->dady, &idx, 1, ""));
395 /* Calculate dady (vec4f)
399 LLVMValueRef dady = LLVMBuildFSub(b, da20_dx01_ooa, da01_dx20_ooa, "dady"); local in function:calc_coef4
404 LLVMValueRef dady_y0 = LLVMBuildFMul(b, dady, y0_center, "dady_y0");
410 out[2] = dady;
444 * Compute a0, dadx and dady fo
89 store_coef(struct gallivm_state * gallivm,struct lp_setup_args * args,unsigned slot,LLVMValueRef a0,LLVMValueRef dadx,LLVMValueRef dady) argument
935 float dady = sdady[0][i]; local in function:lp_dump_setup_coef
947 float dady = sdady[1 + slot][i]; local in function:lp_dump_setup_coef
[all...]
H A Dlp_bld_interp.c99 * a = a0 + dadx*x + dady*y
108 * da'dy = (dady - dwdy*a)*oow
320 LLVMValueRef dady = coeff_bld->zero; local in function:attribs_update_simple
341 dady = coeff_bld->one;
355 dady = lp_build_extract_broadcast(gallivm, setup_bld->type,
383 * a = a0 + (x * dadx + y * dady)
386 a = lp_build_fmuladd(builder, dady, chan_pixoffy, a);
453 LLVMValueRef dady = coeff_bld->zero; local in function:lp_build_interp_soa_indirect
476 dady = lp_build_gather(gallivm, coeff_bld->type.length,
485 * a = a0 + (x * dadx + y * dady)
605 LLVMValueRef dady = coeff_bld->zero; local in function:lp_build_interp_soa
[all...]
H A Dlp_jit.h301 * @param dady shader input dady
316 const void *dady,
411 const float (*dady)[4],
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_fs_exec.c97 const float dady = coef->dady[chan]; local in function:setup_pos_vector
98 const float a0 = coef->a0[chan] + dadx * x + dady * y;
101 quadpos->xyzw[chan].f[2] = a0 + dady;
102 quadpos->xyzw[chan].f[3] = a0 + dadx + dady;
H A Dsp_setup.c458 coef->dady[i] = 0;
467 * Compute a0, dadx and dady for a linearly interpolated coefficient,
482 float dady = b * setup->oneoverarea; local in function:tri_linear_coeff
487 coef->dady[i] = dady;
494 * triangles with very large values of dadx or dady as it will
503 dady * (setup->vmin[0][1] - setup->pixel_offset)));
508 * Compute a0, dadx and dady for a perspective-corrected interpolant,
511 * the plane coefficients (a0, dadx, dady).
532 float dady local in function:tri_persp_coeff
916 const float dady = da * setup->emaj.dy * setup->oneoverarea; local in function:line_linear_coeff
940 const float dady = da * setup->emaj.dy * setup->oneoverarea; local in function:line_persp_coeff
[all...]
H A Dsp_quad_depth_test_tmp.h59 const float dzdy = quads[0]->posCoef->dady[2];
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_fs_exec.c97 const float dady = coef->dady[chan]; local in function:setup_pos_vector
98 const float a0 = coef->a0[chan] + dadx * x + dady * y;
101 quadpos->xyzw[chan].f[2] = a0 + dady;
102 quadpos->xyzw[chan].f[3] = a0 + dadx + dady;
H A Dsp_setup.c413 coef->dady[i] = 0;
422 * Compute a0, dadx and dady for a linearly interpolated coefficient,
437 float dady = b * setup->oneoverarea; local in function:tri_linear_coeff
442 coef->dady[i] = dady;
449 * triangles with very large values of dadx or dady as it will
458 dady * (setup->vmin[0][1] - setup->pixel_offset)));
463 * Compute a0, dadx and dady for a perspective-corrected interpolant,
466 * the plane coefficients (a0, dadx, dady).
487 float dady local in function:tri_persp_coeff
842 const float dady = da * setup->emaj.dy * setup->oneoverarea; local in function:line_linear_coeff
866 const float dady = da * setup->emaj.dy * setup->oneoverarea; local in function:line_persp_coeff
[all...]
H A Dsp_quad_depth_test_tmp.h59 const float dzdy = quads[0]->posCoef->dady[2];
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/
H A Dtgsi_exec.h97 float dady[TGSI_NUM_CHANNELS]; member in struct:tgsi_interp_coef

Completed in 21 milliseconds

12