Searched refs:ddx (Results 1 - 25 of 37) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
H A Dsfn_emittexinstruction.h49 GPRVector ddx; member in struct:r600::EmitTexInstruction::TexInputs
H A Dsfn_emittexinstruction.cpp149 TexInstruction *irgh = new TexInstruction(TexInstruction::set_gradient_h, empty_dst, src.ddx,
552 src.ddx = vec_from_nir_with_fetch_constant(instr.src[i].src,
555 sfn_log << SfnLog::tex << src.ddx << "\n";
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample.c278 LLVMValueRef ddmax[3] = { NULL }, ddx[3] = { NULL }, ddy[3] = { NULL }; local in function:lp_build_rho
291 ddx[i] = lp_build_mul(coord_bld, floatdim, derivs->ddx[i]);
293 ddx[i] = lp_build_mul(coord_bld, ddx[i], ddx[i]);
298 tmpx = lp_build_abs(coord_bld, derivs->ddx[i]);
305 rho_xvec = lp_build_add(coord_bld, ddx[0], ddx[1]);
308 rho_xvec = lp_build_add(coord_bld, rho_xvec, ddx[
1699 LLVMValueRef ima, imahalf, tmp, ddx[3], ddy[3]; local in function:lp_build_cube_lookup
[all...]
H A Dlp_bld_sample.h62 LLVMValueRef ddx[3]; member in struct:lp_derivatives
H A Dlp_bld_sample_soa.c3475 derivs.ddx[i] = LLVMGetParam(function, num_param++);
3611 arg_types[num_param++] = LLVMTypeOf(derivs->ddx[i]);
3613 assert(LLVMTypeOf(derivs->ddx[0]) == LLVMTypeOf(derivs->ddx[i]));
3671 args[num_args++] = derivs->ddx[i];
H A Dlp_bld_tgsi_soa.c1735 LLVMValueRef *ddx,
1743 if (ddx)
1744 *ddx = lp_build_ddx(&bld->bld_base.base, src);
2240 derivs.ddx[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 1, dim);
2409 derivs.ddx[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 3, dim);
1731 emit_fetch_deriv(struct lp_build_tgsi_soa_context * bld,LLVMValueRef src,LLVMValueRef * res,LLVMValueRef * ddx,LLVMValueRef * ddy) argument
H A Dlp_bld_tgsi_aos.c324 derivs.ddx[0] = lp_build_emit_fetch( &bld->bld_base, inst, 1 , LP_CHAN_ALL);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample.c403 LLVMValueRef ddmax[3] = { NULL }, ddx[3] = { NULL }, ddy[3] = { NULL }; local in function:lp_build_rho
416 ddx[i] = lp_build_mul(coord_bld, floatdim, derivs->ddx[i]);
418 ddx[i] = lp_build_mul(coord_bld, ddx[i], ddx[i]);
423 tmpx = lp_build_abs(coord_bld, derivs->ddx[i]);
430 rho_xvec = lp_build_add(coord_bld, ddx[0], ddx[1]);
433 rho_xvec = lp_build_add(coord_bld, rho_xvec, ddx[
1836 LLVMValueRef ima, imahalf, tmp, ddx[3], ddy[3]; local in function:lp_build_cube_lookup
[all...]
H A Dlp_bld_sample.h63 LLVMValueRef ddx[3]; member in struct:lp_derivatives
H A Dlp_bld_nir.c2065 derivs.ddx[0] = deriv_val;
2068 derivs.ddx[chan] = LLVMBuildExtractValue(builder, deriv_val,
2071 derivs.ddx[chan] = cast_type(bld_base, derivs.ddx[chan], nir_type_float, 32);
H A Dlp_bld_tgsi_aos.c324 derivs.ddx[0] = lp_build_emit_fetch( &bld->bld_base, inst, 1 , LP_CHAN_ALL);
H A Dlp_bld_sample_soa.c2128 /* shuffle width/height for ddx/ddy calculations. */
4012 derivs.ddx[i] = LLVMGetParam(function, num_param++);
4162 arg_types[num_param++] = LLVMTypeOf(derivs->ddx[i]);
4164 assert(LLVMTypeOf(derivs->ddx[0]) == LLVMTypeOf(derivs->ddx[i]));
4228 args[num_args++] = derivs->ddx[i];
H A Dlp_bld_tgsi_soa.c1612 LLVMValueRef *ddx,
1620 if (ddx)
1621 *ddx = lp_build_ddx(&bld->bld_base.base, src);
2226 derivs.ddx[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 1, dim);
2395 derivs.ddx[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 3, dim);
1608 emit_fetch_deriv(struct lp_build_tgsi_soa_context * bld,LLVMValueRef src,LLVMValueRef * res,LLVMValueRef * ddx,LLVMValueRef * ddy) argument
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D20.1.8.rst79 - intel/fs: Don't copy-propagate stride=0 sources into ddx/ddy
H A D18.2.8.rst90 - intel/compiler: do not copy-propagate strided regions to ddx/ddy
H A D18.3.4.rst87 - intel/compiler: do not copy-propagate strided regions to ddx/ddy
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_tex.c680 nir_ssa_def *ddx = local in function:lower_gradient
685 nir_ssa_def *dPdx = nir_fmul(b, ddx, size);
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_compiler_nir.c2387 struct ir3_instruction *const *coord, *const *off, *const *ddx, *const *ddy; local in function:emit_tex
2398 coord = off = ddx = ddy = NULL;
2428 ddx = ir3_get_src(ctx, &tex->src[i].src);
2456 compile_assert(ctx, !ddx);
2572 /* pad to 4, then ddx/ddy: */
2577 src0[nsrc0++] = ddx[i];
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_tex.c733 nir_ssa_def *ddx = local in function:lower_gradient
738 nir_ssa_def *dPdx = nir_fmul(b, ddx, size);
/xsrc/external/mit/xf86-input-synaptics/dist/src/
H A Dsynaptics.c2436 double ddx = para->coasting_friction * dtime; local in function:HandleScrolling
2439 if (abs(priv->scroll.coast_speed_x) < ddx) {
2445 (priv->scroll.coast_speed_x < 0 ? ddx : -ddx);
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/
H A Dir3_compiler_nir.c1683 struct ir3_instruction * const *coord, * const *off, * const *ddx, * const *ddy; local in function:emit_tex
1693 coord = off = ddx = ddy = NULL;
1723 ddx = ir3_get_src(ctx, &tex->src[i].src);
1823 /* pad to 4, then ddx/ddy: */
1828 src0[nsrc0++] = ddx[i];
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_tgsi_insn.c1695 * Translate/emit 4-operand (coord, ddx, ddy, sampler) texture instructions.
1704 struct src_register ddx; local in function:emit_tex4
1709 ddx = translate_src_register( emit, &insn->Src[1] );
1724 return submit_op4( emit, inst, dst, texcoord, sampler, ddx, ddy );
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
H A Dsvga_tgsi_insn.c1693 * Translate/emit 4-operand (coord, ddx, ddy, sampler) texture instructions.
1702 struct src_register ddx; local in function:emit_tex4
1707 ddx = translate_src_register( emit, &insn->Src[1] );
1722 return submit_op4( emit, inst, dst, texcoord, sampler, ddx, ddy );
/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_nir_to_llvm.c3274 * temp1 = ddx * offset/sample.x + I;
3276 * temp1 = ddx * offset/sample.x + J;
4550 LLVMValueRef ddx = NULL, ddy = NULL; local in function:visit_tex
4594 ddx = get_src(ctx, instr->src[i].src);
4599 assert(LLVMTypeOf(ddy) == LLVMTypeOf(ddx));
4698 if (ddx || ddy) {
4722 args.derivs[i] = ac_to_float(&ctx->ac, ac_llvm_extract_elem(&ctx->ac, ddx, i));
/xsrc/external/mit/MesaLib.old/dist/src/amd/common/
H A Dac_nir_to_llvm.c3038 * temp1 = ddx * offset/sample.x + I;
3040 * temp1 = ddx * offset/sample.x + J;
3668 LLVMValueRef ddx = NULL, ddy = NULL; local in function:visit_tex
3708 ddx = get_src(ctx, instr->src[i].src);
3780 if (ddx || ddy) {
3805 ac_llvm_extract_elem(&ctx->ac, ddx, i));

Completed in 78 milliseconds

12