/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_sample_soa.c | 2044 const struct lp_derivatives *derivs, /* optional */ in lp_build_sample_common() argument 2076 lp_build_cube_lookup(bld, coords, derivs, &cube_rho, &cube_derivs, need_derivs); in lp_build_sample_common() 2077 derivs = &cube_derivs; in lp_build_sample_common() 2127 derivs, lod_bias, explicit_lod, in lp_build_sample_common() 2748 const struct lp_derivatives *derivs, /* optional */ in lp_build_sample_soa_code() argument 2787 assert(derivs == NULL); in lp_build_sample_soa_code() 2792 assert(derivs == NULL); in lp_build_sample_soa_code() 2795 assert(derivs); in lp_build_sample_soa_code() 2799 assert(derivs == NULL); in lp_build_sample_soa_code() 2953 (explicit_lod || lod_bias || derivs)) { in lp_build_sample_soa_code() [all …]
|
D | lp_bld_tgsi_aos.c | 311 struct lp_derivatives derivs = { {NULL}, {NULL} }; in emit_tex() local 324 derivs.ddx[0] = lp_build_emit_fetch( &bld->bld_base, inst, 1 , LP_CHAN_ALL); in emit_tex() 325 derivs.ddy[0] = lp_build_emit_fetch( &bld->bld_base, inst, 2 , LP_CHAN_ALL); in emit_tex() 334 coords, derivs, in emit_tex() 347 struct lp_derivatives derivs = { {NULL}, {NULL} }; in emit_sample() local 365 coords, derivs, in emit_sample()
|
D | lp_bld_sample.h | 110 const struct lp_derivatives *derivs; member 502 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() 704 const struct lp_derivatives *derivs, in lp_build_lod_selector() argument 764 rho = lp_build_rho(bld, texture_unit, s, t, r, cube_rho, derivs); in lp_build_lod_selector()
|
D | lp_bld_tgsi_soa.c | 2035 struct lp_derivatives derivs; in emit_tex() local 2182 derivs.ddx[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 1, dim); in emit_tex() 2183 derivs.ddy[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 2, dim); in emit_tex() 2185 params.derivs = &derivs; in emit_tex() 2242 struct lp_derivatives derivs; in emit_sample() local 2351 derivs.ddx[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 3, dim); in emit_sample() 2352 derivs.ddy[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 4, dim); in emit_sample() 2354 params.derivs = &derivs; in emit_sample() 2519 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 | 2116 float derivs[3][2][TGSI_QUAD_SIZE], in fetch_texel() 2129 s->f, t->f, p->f, c0->f, c1->f, derivs, offset, control, rgba); in fetch_texel() 2184 float derivs[2][TGSI_QUAD_SIZE]) in fetch_assign_deriv_channel() 2188 derivs[0][0] = d.f[0]; in fetch_assign_deriv_channel() 2189 derivs[0][1] = d.f[1]; in fetch_assign_deriv_channel() 2190 derivs[0][2] = d.f[2]; in fetch_assign_deriv_channel() 2191 derivs[0][3] = d.f[3]; in fetch_assign_deriv_channel() 2193 derivs[1][0] = d.f[0]; in fetch_assign_deriv_channel() 2194 derivs[1][1] = d.f[1]; in fetch_assign_deriv_channel() 2195 derivs[1][2] = d.f[2]; in fetch_assign_deriv_channel() [all …]
|
D | tgsi_exec.h | 208 float derivs[3][2][TGSI_QUAD_SIZE],
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_tgsi_mem.c | 1269 LLVMValueRef coords[5], derivs[6]; in tex_fetch_args() local 1426 derivs[param * num_dst_deriv_channels + chan] = in tex_fetch_args() 1432 derivs[param * num_dst_deriv_channels + chan] = in tex_fetch_args() 1446 coords, derivs); in tex_fetch_args() 1459 address[count++] = derivs[i]; in tex_fetch_args()
|
/external/mesa3d/src/amd/common/ |
D | ac_llvm_build.c | 635 LLVMValueRef derivs[4]; in ac_prepare_cube_coords() local 670 derivs[axis * 2 + i] = in ac_prepare_cube_coords() 676 memcpy(derivs_arg, derivs, sizeof(derivs)); in ac_prepare_cube_coords()
|
D | ac_nir_to_llvm.c | 4840 LLVMValueRef derivs[6]; in visit_tex() local 4996 derivs[i] = ac_to_float(&ctx->ac, ac_llvm_extract_elem(&ctx->ac, ddx, i)); in visit_tex() 4997 …derivs[num_dest_deriv_channels + i] = ac_to_float(&ctx->ac, ac_llvm_extract_elem(&ctx->ac, ddy, i)… in visit_tex() 5000 derivs[i] = ctx->ac.f32_0; in visit_tex() 5001 derivs[num_dest_deriv_channels + i] = ctx->ac.f32_0; in visit_tex() 5012 instr->op == nir_texop_lod, coords, derivs); in visit_tex() 5019 address[count++] = derivs[i]; in visit_tex()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 3553 float derivs[3][2][TGSI_QUAD_SIZE], in sp_tgsi_get_samples()
|