| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_setup_point.c | 53 float (*dadx)[4]; member in struct:point_info 71 info->dadx[slot][i] = 0.0f; 94 info->dadx[slot][i] = 0.0f; 120 float dadx = FIXED_ONE / (float)info->dx12; local in function:texcoord_coef 125 info->dadx[slot][0] = dadx; 127 info->a0[slot][0] = 0.5 - (dadx * x0 + dady * y0); 130 info->dadx[slot][0] *= w0; 136 float dadx = 0.0f; local in function:texcoord_coef 145 info->dadx[slo [all...] |
| H A D | lp_state_setup.h | 43 float (*dadx)[4], 52 * attribute interpolants (a0, dadx, dady) from three of those
|
| H A D | lp_setup_line.c | 55 float (*dadx)[4]; member in struct:lp_line_info 70 info->dadx[slot][i] = 0.0f; 76 * Compute a0, dadx and dady for a linearly interpolated coefficient, 89 float dadx = da21 * info->dx * info->oneoverarea; local in function:linear_coef 92 info->dadx[slot][i] = dadx; 96 (dadx * (info->v1[0][0] - setup->pixel_offset) + 102 * Compute a0, dadx and dady for a perspective-corrected interpolant, 105 * the plane coefficients (a0, dadx, dady). 121 float dadx local in function:perspective_coef [all...] |
| H A D | lp_state_setup.c | 72 LLVMValueRef dadx; member in struct:lp_setup_args 92 LLVMValueRef dadx, 103 dadx, 104 LLVMBuildGEP(builder, args->dadx, &idx, 1, "")); 414 /* Calculate dadx (vec4f) 418 LLVMValueRef dadx = LLVMBuildFSub(b, da01_dy20_ooa, da20_dy01_ooa, "dadx"); local in function:emit_coef4 428 LLVMValueRef dadx_x0 = LLVMBuildFMul(b, dadx, x0_center, "dadx_x0"); 433 store_coef(gallivm, args, slot, attr_0, dadx, dady); 453 * Compute a0, dadx an 88 store_coef(struct gallivm_state * gallivm,struct lp_setup_args * args,unsigned slot,LLVMValueRef a0,LLVMValueRef dadx,LLVMValueRef dady) argument 996 float dadx = sdadx[0][i]; local in function:lp_dump_setup_coef 1008 float dadx = sdadx[1 + slot][i]; local in function:lp_dump_setup_coef [all...] |
| H A D | lp_bld_interp.c | 95 * a = a0 + dadx*x + dady*y 103 * da'dx = (dadx - dwdx*a)*oow 274 LLVMValueRef dadx = coeff_bld->zero; local in function:attribs_update_simple 285 dadx = coeff_bld->one; 297 dadx = lp_build_extract_broadcast(gallivm, setup_bld->type, 308 * a = a0 + (x * dadx + y * dady) 310 a = lp_build_fmuladd(builder, dadx, pixoffx, a); 441 * a = a0 + (x * dadx + y * dady) 453 * dadq = {0, dadx, dady, dadx 460 LLVMValueRef dadx, dady; local in function:coeffs_init [all...] |
| H A D | lp_jit.h | 237 * @param dadx shader input dadx 252 const void *dadx,
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_linear_interp.c | 74 __m128i dadx = interp->dadx; local in function:interp_0_8 82 a0 = _mm_add_epi16(a0, dadx); 85 a0 = _mm_add_epi16(a0, dadx); 127 const float *dadx, 150 dsdx[j] = dadx[j] * oow; 158 dsdx[j] = dadx[j]; 206 interp->dadx = _mm_setr_epi16(dsdx_fp[2], dsdx_fp[1], dsdx_fp[0], dsdx_fp[3], 238 const float *dadx, 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 D | lp_linear_fastpath.c | 64 const float (*dadx)[4], 80 dadx[0][3] != 0.0 || 116 const float (*dadx)[4], 132 dadx[0][3] != 0.0 || 174 const float (*dadx)[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 D | lp_setup_point.c | 53 float (*dadx)[4]; member in struct:point_info 71 info->dadx[slot][i] = 0.0f; 94 info->dadx[slot][i] = 0.0f; 120 float dadx = FIXED_ONE / (float)info->dx12; local in function:texcoord_coef 125 info->dadx[slot][0] = dadx; 127 info->a0[slot][0] = 0.5 - (dadx * x0 + dady * y0); 130 info->dadx[slot][0] *= w0; 136 float dadx = 0.0f; local in function:texcoord_coef 145 info->dadx[slo [all...] |
| H A D | lp_state_fs_linear.c | 69 __m128i dadx; member in struct:linear_interp 367 const float (*dadx)[4], 383 dadx[0][3] != 0.0 || 419 const float (*dadx)[4], 435 dadx[0][3] != 0.0 || 479 const float (*dadx)[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])) 518 const float (*dadx)[ 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 D | lp_linear_priv.h | 57 __m128i dadx; member in struct:lp_linear_interp 136 const float *dadx, 146 const float (*dadx)[4],
|
| H A D | lp_state_setup.h | 45 float (*dadx)[4], 55 * attribute interpolants (a0, dadx, dady) from three of those
|
| H A D | lp_setup_line.c | 55 float (*dadx)[4]; member in struct:lp_line_info 70 info->dadx[slot][i] = 0.0f; 76 * Compute a0, dadx and dady for a linearly interpolated coefficient, 89 float dadx = da21 * info->dx * info->oneoverarea; local in function:linear_coef 92 info->dadx[slot][i] = dadx; 96 (dadx * (info->v1[0][0] - setup->pixel_offset) + 102 * Compute a0, dadx and dady for a perspective-corrected interpolant, 105 * the plane coefficients (a0, dadx, dady). 121 float dadx local in function:perspective_coef [all...] |
| H A D | lp_state_fs_fastpath.c | 51 const void *dadx, 149 const void *dadx, 176 const void *dadx, 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 D | lp_linear.c | 78 const float (*dadx)[4], 104 if (dadx[0][3] != 0.0f || 154 dadx[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 D | lp_state_setup.c | 72 LLVMValueRef dadx; member in struct:lp_setup_args 93 LLVMValueRef dadx, 104 dadx, 105 LLVMBuildGEP(builder, args->dadx, &idx, 1, "")); 389 /* Calculate dadx (vec4f) 393 LLVMValueRef dadx = LLVMBuildFSub(b, da01_dy20_ooa, da20_dy01_ooa, "dadx"); local in function:calc_coef4 403 LLVMValueRef dadx_x0 = LLVMBuildFMul(b, dadx, x0_center, "dadx_x0"); 409 out[1] = dadx; 444 * Compute a0, dadx an 89 store_coef(struct gallivm_state * gallivm,struct lp_setup_args * args,unsigned slot,LLVMValueRef a0,LLVMValueRef dadx,LLVMValueRef dady) argument 934 float dadx = sdadx[0][i]; local in function:lp_dump_setup_coef 946 float dadx = sdadx[1 + slot][i]; local in function:lp_dump_setup_coef [all...] |
| H A D | lp_bld_interp.c | 99 * a = a0 + dadx*x + dady*y 107 * da'dx = (dadx - dwdx*a)*oow 319 LLVMValueRef dadx = coeff_bld->zero; local in function:attribs_update_simple 331 dadx = coeff_bld->one; 352 dadx = lp_build_extract_broadcast(gallivm, setup_bld->type, 383 * a = a0 + (x * dadx + y * dady) 385 a = lp_build_fmuladd(builder, dadx, chan_pixoffx, a); 452 LLVMValueRef dadx = coeff_bld->zero; local in function:lp_build_interp_soa_indirect 472 dadx = lp_build_gather(gallivm, coeff_bld->type.length, 485 * a = a0 + (x * dadx 604 LLVMValueRef dadx = coeff_bld->zero; local in function:lp_build_interp_soa [all...] |
| H A D | lp_jit.h | 300 * @param dadx shader input dadx 315 const void *dadx, 410 const float (*dadx)[4],
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/ |
| H A D | sp_fs_exec.c | 96 const float dadx = coef->dadx[chan]; local in function:setup_pos_vector 98 const float a0 = coef->a0[chan] + dadx * x + dady * y; 100 quadpos->xyzw[chan].f[1] = a0 + dadx; 102 quadpos->xyzw[chan].f[3] = a0 + dadx + dady;
|
| H A D | sp_setup.c | 457 coef->dadx[i] = 0; 467 * Compute a0, dadx and dady for a linearly interpolated coefficient, 481 float dadx = a * setup->oneoverarea; local in function:tri_linear_coeff 486 coef->dadx[i] = dadx; 494 * triangles with very large values of dadx or dady as it will 502 (dadx * (setup->vmin[0][0] - setup->pixel_offset) + 508 * Compute a0, dadx and dady for a perspective-corrected interpolant, 511 * the plane coefficients (a0, dadx, dady). 531 float dadx local in function:tri_persp_coeff 915 const float dadx = da * setup->emaj.dx * setup->oneoverarea; local in function:line_linear_coeff 939 const float dadx = da * setup->emaj.dx * setup->oneoverarea; local in function:line_persp_coeff [all...] |
| H A D | sp_quad_depth_test_tmp.h | 58 const float dzdx = quads[0]->posCoef->dadx[2];
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/ |
| H A D | sp_fs_exec.c | 96 const float dadx = coef->dadx[chan]; local in function:setup_pos_vector 98 const float a0 = coef->a0[chan] + dadx * x + dady * y; 100 quadpos->xyzw[chan].f[1] = a0 + dadx; 102 quadpos->xyzw[chan].f[3] = a0 + dadx + dady;
|
| H A D | sp_setup.c | 412 coef->dadx[i] = 0; 422 * Compute a0, dadx and dady for a linearly interpolated coefficient, 436 float dadx = a * setup->oneoverarea; local in function:tri_linear_coeff 441 coef->dadx[i] = dadx; 449 * triangles with very large values of dadx or dady as it will 457 (dadx * (setup->vmin[0][0] - setup->pixel_offset) + 463 * Compute a0, dadx and dady for a perspective-corrected interpolant, 466 * the plane coefficients (a0, dadx, dady). 486 float dadx local in function:tri_persp_coeff 841 const float dadx = da * setup->emaj.dx * setup->oneoverarea; local in function:line_linear_coeff 865 const float dadx = da * setup->emaj.dx * setup->oneoverarea; local in function:line_persp_coeff [all...] |
| H A D | sp_quad_depth_test_tmp.h | 58 const float dzdx = quads[0]->posCoef->dadx[2];
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/ |
| H A D | tgsi_exec.h | 96 float dadx[TGSI_NUM_CHANNELS]; member in struct:tgsi_interp_coef
|