/external/mesa3d/src/amd/common/ |
D | ac_llvm_util.c | 448 LLVMValueRef derivs[4]; in ac_prepare_cube_coords() local 483 derivs[axis * 2 + i] = in ac_prepare_cube_coords() 489 memcpy(derivs_arg, derivs, sizeof(derivs)); in ac_prepare_cube_coords()
|
D | ac_nir_to_llvm.c | 3192 LLVMValueRef derivs[6]; in visit_tex() local 3317 derivs[i * 2] = to_float(ctx, llvm_extract_elem(ctx, ddx, i)); in visit_tex() 3318 derivs[i * 2 + 1] = to_float(ctx, llvm_extract_elem(ctx, ddy, i)); in visit_tex() 3329 coords, derivs); in visit_tex() 3336 address[count++] = derivs[i]; in visit_tex()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample_soa.c | 1797 const struct lp_derivatives *derivs, /* optional */ in lp_build_sample_common() argument 1828 lp_build_cube_lookup(bld, coords, derivs, &cube_rho, &cube_derivs, need_derivs); in lp_build_sample_common() 1829 derivs = &cube_derivs; in lp_build_sample_common() 1879 derivs, lod_bias, explicit_lod, in lp_build_sample_common() 2469 const struct lp_derivatives *derivs, /* optional */ in lp_build_sample_soa_code() argument 2506 assert(derivs == NULL); in lp_build_sample_soa_code() 2511 assert(derivs == NULL); in lp_build_sample_soa_code() 2514 assert(derivs); in lp_build_sample_soa_code() 2518 assert(derivs == NULL); in lp_build_sample_soa_code() 2659 (explicit_lod || lod_bias || derivs)) { in lp_build_sample_soa_code() [all …]
|
D | lp_bld_tgsi_aos.c | 352 struct lp_derivatives derivs = { {NULL}, {NULL} }; in emit_tex() local 365 derivs.ddx[0] = lp_build_emit_fetch( &bld->bld_base, inst, 1 , LP_CHAN_ALL); in emit_tex() 366 derivs.ddy[0] = lp_build_emit_fetch( &bld->bld_base, inst, 2 , LP_CHAN_ALL); in emit_tex() 375 coords, derivs, in emit_tex() 388 struct lp_derivatives derivs = { {NULL}, {NULL} }; in emit_sample() local 406 coords, derivs, in emit_sample()
|
D | lp_bld_sample.h | 109 const struct lp_derivatives *derivs; member 495 const struct lp_derivatives *derivs,
|
D | lp_bld_sample.c | 215 const struct lp_derivatives *derivs) in lp_build_rho() argument 277 else if (derivs) { in lp_build_rho() 291 ddx[i] = lp_build_mul(coord_bld, floatdim, derivs->ddx[i]); in lp_build_rho() 292 ddy[i] = lp_build_mul(coord_bld, floatdim, derivs->ddy[i]); in lp_build_rho() 298 tmpx = lp_build_abs(coord_bld, derivs->ddx[i]); in lp_build_rho() 299 tmpy = lp_build_abs(coord_bld, derivs->ddy[i]); in lp_build_rho() 703 const struct lp_derivatives *derivs, in lp_build_lod_selector() argument 762 rho = lp_build_rho(bld, texture_unit, s, t, r, cube_rho, derivs); in lp_build_lod_selector()
|
D | lp_bld_tgsi_soa.c | 2160 struct lp_derivatives derivs; in emit_tex() local 2307 derivs.ddx[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 1, dim); in emit_tex() 2308 derivs.ddy[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 2, dim); in emit_tex() 2310 params.derivs = &derivs; in emit_tex() 2366 struct lp_derivatives derivs; in emit_sample() local 2475 derivs.ddx[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 3, dim); in emit_sample() 2476 derivs.ddy[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 4, dim); in emit_sample() 2478 params.derivs = &derivs; in emit_sample() 2643 params.derivs = NULL; in emit_fetch_texels()
|
D | lp_bld_tgsi.h | 209 const struct lp_derivatives derivs,
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_exec.c | 2176 float derivs[3][2][TGSI_QUAD_SIZE], in fetch_texel() 2189 s->f, t->f, p->f, c0->f, c1->f, derivs, offset, control, rgba); in fetch_texel() 2244 float derivs[2][TGSI_QUAD_SIZE]) in fetch_assign_deriv_channel() 2248 derivs[0][0] = d.f[0]; in fetch_assign_deriv_channel() 2249 derivs[0][1] = d.f[1]; in fetch_assign_deriv_channel() 2250 derivs[0][2] = d.f[2]; in fetch_assign_deriv_channel() 2251 derivs[0][3] = d.f[3]; in fetch_assign_deriv_channel() 2253 derivs[1][0] = d.f[0]; in fetch_assign_deriv_channel() 2254 derivs[1][1] = d.f[1]; in fetch_assign_deriv_channel() 2255 derivs[1][2] = d.f[2]; in fetch_assign_deriv_channel() [all …]
|
D | tgsi_exec.h | 199 float derivs[3][2][TGSI_QUAD_SIZE],
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader.c | 4536 LLVMValueRef coords[5], derivs[6]; in tex_fetch_args() local 4668 derivs[param * num_src_deriv_channels + chan] = in tex_fetch_args() 4680 coords, derivs); in tex_fetch_args() 4684 address[count++] = derivs[i]; in tex_fetch_args()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 3569 float derivs[3][2][TGSI_QUAD_SIZE], in sp_tgsi_get_samples()
|