/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_tex_sample.c | 505 float derivs[3][2][TGSI_QUAD_SIZE]) in compute_gradient_1d() 507 memset(derivs, 0, 6 * TGSI_QUAD_SIZE * sizeof(float)); in compute_gradient_1d() 508 derivs[0][0][0] = s[QUAD_BOTTOM_RIGHT] - s[QUAD_BOTTOM_LEFT]; in compute_gradient_1d() 509 derivs[0][1][0] = s[QUAD_TOP_LEFT] - s[QUAD_BOTTOM_LEFT]; in compute_gradient_1d() 514 const float derivs[3][2][TGSI_QUAD_SIZE], in compute_lambda_1d_explicit_gradients() 518 const float dsdx = fabsf(derivs[0][0][quad]); in compute_lambda_1d_explicit_gradients() 519 const float dsdy = fabsf(derivs[0][1][quad]); in compute_lambda_1d_explicit_gradients() 535 float derivs[3][2][TGSI_QUAD_SIZE]; in compute_lambda_1d() local 536 compute_gradient_1d(s, t, p, derivs); in compute_lambda_1d() 537 return compute_lambda_1d_explicit_gradients(sview, derivs, 0); in compute_lambda_1d() [all …]
|
D | sp_tex_sample.h | 57 const float derivs[3][2][TGSI_QUAD_SIZE],
|
/third_party/boost/boost/numeric/odeint/stepper/ |
D | modified_midpoint.hpp | 201 state_type &x_mp , deriv_table_type &derivs ) in do_step() argument 224 sys( m_x1.m_v , derivs[0].m_v , th ); in do_step() 233 m_algebra.for_each3( m_x1.m_v , m_x0.m_v , derivs[i-1].m_v , in do_step() 240 sys( m_x1.m_v , derivs[i].m_v , th); in do_step() 246 m_algebra.for_each4( out , m_x0.m_v , m_x1.m_v , derivs[m_steps-1].m_v , in do_step()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
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_soa.c | 2503 const struct lp_derivatives *derivs, /* optional */ in lp_build_sample_common() argument 2536 lp_build_cube_lookup(bld, coords, derivs, &cube_rho, &cube_derivs, need_derivs); in lp_build_sample_common() 2537 derivs = &cube_derivs; in lp_build_sample_common() 2595 derivs, lod_bias, explicit_lod, in lp_build_sample_common() 3274 const struct lp_derivatives *derivs, /* optional */ in lp_build_sample_soa_code() argument 3316 assert(derivs == NULL); in lp_build_sample_soa_code() 3321 assert(derivs == NULL); in lp_build_sample_soa_code() 3324 assert(derivs); in lp_build_sample_soa_code() 3328 assert(derivs == NULL); in lp_build_sample_soa_code() 3466 (explicit_lod || lod_bias || derivs)) { in lp_build_sample_soa_code() [all …]
|
D | lp_bld_nir.c | 1997 struct lp_derivatives derivs; in visit_tex() local 2066 derivs.ddx[0] = deriv_val; in visit_tex() 2069 derivs.ddx[chan] = LLVMBuildExtractValue(builder, deriv_val, in visit_tex() 2072 derivs.ddx[chan] = cast_type(bld_base, derivs.ddx[chan], nir_type_float, 32); in visit_tex() 2081 derivs.ddy[0] = deriv_val; in visit_tex() 2084 derivs.ddy[chan] = LLVMBuildExtractValue(builder, deriv_val, in visit_tex() 2087 derivs.ddy[chan] = cast_type(bld_base, derivs.ddy[chan], nir_type_float, 32); in visit_tex() 2158 params.derivs = &derivs; in visit_tex()
|
D | lp_bld_sample.c | 340 const struct lp_derivatives *derivs) in lp_build_rho() argument 402 else if (derivs) { in lp_build_rho() 416 ddx[i] = lp_build_mul(coord_bld, floatdim, derivs->ddx[i]); in lp_build_rho() 417 ddy[i] = lp_build_mul(coord_bld, floatdim, derivs->ddy[i]); in lp_build_rho() 423 tmpx = lp_build_abs(coord_bld, derivs->ddx[i]); in lp_build_rho() 424 tmpy = lp_build_abs(coord_bld, derivs->ddy[i]); in lp_build_rho() 829 const struct lp_derivatives *derivs, in lp_build_lod_selector() argument 895 rho = lp_build_rho(bld, texture_unit, s, t, r, cube_rho, derivs); in lp_build_lod_selector()
|
D | lp_bld_sample.h | 117 const struct lp_derivatives *derivs; member 583 const struct lp_derivatives *derivs,
|
D | lp_bld_tgsi_soa.c | 2073 struct lp_derivatives derivs; in emit_tex() local 2226 derivs.ddx[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 1, dim); in emit_tex() 2227 derivs.ddy[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 2, dim); in emit_tex() 2229 params.derivs = &derivs; in emit_tex() 2286 struct lp_derivatives derivs; in emit_sample() local 2395 derivs.ddx[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 3, dim); in emit_sample() 2396 derivs.ddy[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 4, dim); in emit_sample() 2398 params.derivs = &derivs; in emit_sample() 2572 params.derivs = NULL; in emit_fetch_texels()
|
D | lp_bld_tgsi.h | 229 const struct lp_derivatives derivs,
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_exec.c | 1969 float derivs[3][2][TGSI_QUAD_SIZE], in fetch_texel() 1982 s->f, t->f, p->f, c0->f, c1->f, derivs, offset, control, rgba); in fetch_texel() 2037 float derivs[2][TGSI_QUAD_SIZE]) in fetch_assign_deriv_channel() 2041 derivs[0][0] = d.f[0]; in fetch_assign_deriv_channel() 2042 derivs[0][1] = d.f[1]; in fetch_assign_deriv_channel() 2043 derivs[0][2] = d.f[2]; in fetch_assign_deriv_channel() 2044 derivs[0][3] = d.f[3]; in fetch_assign_deriv_channel() 2046 derivs[1][0] = d.f[0]; in fetch_assign_deriv_channel() 2047 derivs[1][1] = d.f[1]; in fetch_assign_deriv_channel() 2048 derivs[1][2] = d.f[2]; in fetch_assign_deriv_channel() [all …]
|
D | tgsi_exec.h | 190 float derivs[3][2][TGSI_QUAD_SIZE],
|
/third_party/mesa3d/docs/relnotes/ |
D | 17.1.7.rst | 51 - cherry-ignore: add "radeon/ac: use ds_swizzle for derivs on si/cik."
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 888 LLVMValueRef derivs[4]; in ac_prepare_cube_coords() local 922 derivs[axis * 2 + i] = in ac_prepare_cube_coords() 927 memcpy(derivs_arg, derivs, sizeof(derivs)); in ac_prepare_cube_coords() 2104 assert((a->bias ? 1 : 0) + (a->lod ? 1 : 0) + (a->level_zero ? 1 : 0) + (a->derivs[0] ? 1 : 0) <= in ac_build_image_opcode() 2119 assert(!a->derivs[0] || in ac_build_image_opcode() 2120 ((!a->g16 || ac_get_elem_bits(ctx, LLVMTypeOf(a->derivs[0])) == 16) && in ac_build_image_opcode() 2121 (a->g16 || ac_get_elem_bits(ctx, LLVMTypeOf(a->derivs[0])) == 32))); in ac_build_image_opcode() 2190 if (a->derivs[0]) { in ac_build_image_opcode() 2193 args[num_args++] = ac_to_float(ctx, a->derivs[i]); in ac_build_image_opcode() 2294 a->bias ? ".b" : lod_suffix ? ".l" : a->derivs[0] ? ".d" : a->level_zero ? ".lz" : "", in ac_build_image_opcode()
|
D | ac_llvm_build.h | 424 LLVMValueRef derivs[6]; member
|
D | ac_nir_to_llvm.c | 4722 args.derivs[i] = ac_to_float(&ctx->ac, ac_llvm_extract_elem(&ctx->ac, ddx, i)); in visit_tex() 4723 args.derivs[num_dest_deriv_channels + i] = in visit_tex() 4728 args.derivs[i] = zero; in visit_tex() 4729 args.derivs[num_dest_deriv_channels + i] = zero; in visit_tex() 4739 instr->op == nir_texop_lod, args.coords, args.derivs); in visit_tex()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_fs_linear_llvm.c | 98 const struct lp_derivatives derivs, in emit_fetch_texel_linear() argument
|
/third_party/mesa3d/src/gallium/drivers/i915/ci/ |
D | i915-g33-fails.txt | 157 shaders@glsl-derivs,Fail 832 spec@glsl-1.10@execution@derivatives@glsl-derivs-abs,Fail 833 spec@glsl-1.10@execution@derivatives@glsl-derivs-abs-sign,Fail 834 spec@glsl-1.10@execution@derivatives@glsl-derivs-sign,Fail 835 spec@glsl-1.10@execution@derivatives@glsl-derivs-swizzle,Fail 836 spec@glsl-1.10@execution@derivatives@glsl-derivs-varyings,Fail
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection.cpp | 9233 std::vector<Temp> derivs; in visit_tex() local 9379 derivs = {ddx, zero, ddy, zero}; in visit_tex() 9382 derivs.emplace_back(emit_extract_vector(ctx, ddx, i, v1)); in visit_tex() 9384 derivs.emplace_back(emit_extract_vector(ctx, ddy, i, v1)); in visit_tex() 9609 args.insert(args.end(), derivs.begin(), derivs.end()); in visit_tex()
|