Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c2044 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 …]
Dlp_bld_tgsi_aos.c311 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()
Dlp_bld_sample.h110 const struct lp_derivatives *derivs; member
502 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()
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()
Dlp_bld_tgsi_soa.c2035 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()
Dlp_bld_tgsi.h209 const struct lp_derivatives derivs,
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.c2116 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 …]
Dtgsi_exec.h208 float derivs[3][2][TGSI_QUAD_SIZE],
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_mem.c1269 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/
Dac_llvm_build.c635 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()
Dac_nir_to_llvm.c4840 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()
4997derivs[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/
Dsp_tex_sample.c3553 float derivs[3][2][TGSI_QUAD_SIZE], in sp_tgsi_get_samples()