Home
last modified time | relevance | path

Searched refs:derivs (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/amd/common/
Dac_llvm_util.c448 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()
Dac_nir_to_llvm.c3192 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/
Dlp_bld_sample_soa.c1797 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 …]
Dlp_bld_tgsi_aos.c352 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()
Dlp_bld_sample.h109 const struct lp_derivatives *derivs; member
495 const struct lp_derivatives *derivs,
Dlp_bld_sample.c215 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()
Dlp_bld_tgsi_soa.c2160 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()
Dlp_bld_tgsi.h209 const struct lp_derivatives derivs,
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.c2176 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 …]
Dtgsi_exec.h199 float derivs[3][2][TGSI_QUAD_SIZE],
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c4536 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/
Dsp_tex_sample.c3569 float derivs[3][2][TGSI_QUAD_SIZE], in sp_tgsi_get_samples()