HomeSort by: relevance | last modified time | path
    Searched refs:ddy (Results 1 - 24 of 24) sorted by relevancy

  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
sfn_emittexinstruction.h 50 GPRVector ddy; member in struct:r600::EmitTexInstruction::TexInputs
sfn_emittexinstruction.cpp 154 TexInstruction *irgv = new TexInstruction(TexInstruction::set_gradient_v, empty_dst, src.ddy,
558 sfn_log << SfnLog::tex << "Get DDY ";
559 src.ddy = vec_from_nir_with_fetch_constant(instr.src[i].src,
562 sfn_log << SfnLog::tex << src.ddy << "\n";
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
lp_bld_sample.c 403 LLVMValueRef ddmax[3] = { NULL }, ddx[3] = { NULL }, ddy[3] = { NULL }; local
417 ddy[i] = lp_build_mul(coord_bld, floatdim, derivs->ddy[i]);
419 ddy[i] = lp_build_mul(coord_bld, ddy[i], ddy[i]);
424 tmpy = lp_build_abs(coord_bld, derivs->ddy[i]);
431 rho_yvec = lp_build_add(coord_bld, ddy[0], ddy[1]);
434 rho_yvec = lp_build_add(coord_bld, rho_yvec, ddy[2])
1836 LLVMValueRef ima, imahalf, tmp, ddx[3], ddy[3]; local
    [all...]
lp_bld_sample.h 64 LLVMValueRef ddy[3]; member in struct:lp_derivatives
lp_bld_nir.c 2080 derivs.ddy[0] = deriv_val;
2083 derivs.ddy[chan] = LLVMBuildExtractValue(builder, deriv_val,
2086 derivs.ddy[chan] = cast_type(bld_base, derivs.ddy[chan], nir_type_float, 32);
lp_bld_tgsi_aos.c 325 derivs.ddy[0] = lp_build_emit_fetch( &bld->bld_base, inst, 2 , LP_CHAN_ALL);
lp_bld_sample_soa.c 2128 /* shuffle width/height for ddx/ddy calculations. */
4013 derivs.ddy[i] = LLVMGetParam(function, num_param++);
4163 arg_types[num_param++] = LLVMTypeOf(derivs->ddy[i]);
4165 assert(LLVMTypeOf(derivs->ddy[0]) == LLVMTypeOf(derivs->ddy[i]));
4229 args[num_args++] = derivs->ddy[i];
lp_bld_tgsi_soa.c 1613 LLVMValueRef *ddy)
1623 if (ddy)
1624 *ddy = lp_build_ddy(&bld->bld_base.base, src);
2227 derivs.ddy[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 2, dim);
2396 derivs.ddy[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 4, dim);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
lp_bld_sample.c 278 LLVMValueRef ddmax[3] = { NULL }, ddx[3] = { NULL }, ddy[3] = { NULL }; local
292 ddy[i] = lp_build_mul(coord_bld, floatdim, derivs->ddy[i]);
294 ddy[i] = lp_build_mul(coord_bld, ddy[i], ddy[i]);
299 tmpy = lp_build_abs(coord_bld, derivs->ddy[i]);
306 rho_yvec = lp_build_add(coord_bld, ddy[0], ddy[1]);
309 rho_yvec = lp_build_add(coord_bld, rho_yvec, ddy[2])
1699 LLVMValueRef ima, imahalf, tmp, ddx[3], ddy[3]; local
    [all...]
lp_bld_sample.h 63 LLVMValueRef ddy[3]; member in struct:lp_derivatives
lp_bld_sample_soa.c 3476 derivs.ddy[i] = LLVMGetParam(function, num_param++);
3612 arg_types[num_param++] = LLVMTypeOf(derivs->ddy[i]);
3614 assert(LLVMTypeOf(derivs->ddy[0]) == LLVMTypeOf(derivs->ddy[i]));
3672 args[num_args++] = derivs->ddy[i];
lp_bld_tgsi_soa.c 1736 LLVMValueRef *ddy)
1746 if (ddy)
1747 *ddy = lp_build_ddy(&bld->bld_base.base, src);
2241 derivs.ddy[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 2, dim);
2410 derivs.ddy[dim] = lp_build_emit_fetch(&bld->bld_base, inst, 4, dim);
lp_bld_tgsi_aos.c 325 derivs.ddy[0] = lp_build_emit_fetch( &bld->bld_base, inst, 2 , LP_CHAN_ALL);
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
nir_lower_tex.c 682 nir_ssa_def *ddy = local
686 nir_ssa_def *dPdy = nir_fmul(b, ddy, size);
  /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
ir3_compiler_nir.c 2387 struct ir3_instruction *const *coord, *const *off, *const *ddx, *const *ddy; local
2398 coord = off = ddx = ddy = NULL;
2431 ddy = ir3_get_src(ctx, &tex->src[i].src);
2457 compile_assert(ctx, !ddy);
2572 /* pad to 4, then ddx/ddy: */
2581 src0[nsrc0++] = ddy[i];
  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_lower_tex.c 735 nir_ssa_def *ddy = local
739 nir_ssa_def *dPdy = nir_fmul(b, ddy, size);
  /xsrc/external/mit/MesaLib.old/dist/src/freedreno/ir3/
ir3_compiler_nir.c 1683 struct ir3_instruction * const *coord, * const *off, * const *ddx, * const *ddy; local
1693 coord = off = ddx = ddy = NULL;
1726 ddy = ir3_get_src(ctx, &tex->src[i].src);
1823 /* pad to 4, then ddx/ddy: */
1832 src0[nsrc0++] = ddy[i];
  /xsrc/external/mit/xf86-input-synaptics/dist/src/
synaptics.c 2420 double ddy = para->coasting_friction * dtime; local
2424 if (abs(priv->scroll.coast_speed_y) < ddy) {
2430 (priv->scroll.coast_speed_y < 0 ? ddy : -ddy);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
svga_tgsi_insn.c 1693 * Translate/emit 4-operand (coord, ddx, ddy, sampler) texture instructions.
1703 struct src_register ddy; local
1708 ddy = translate_src_register( emit, &insn->Src[2] );
1722 return submit_op4( emit, inst, dst, texcoord, sampler, ddx, ddy );
2047 * Translate/emit TGSI DDX, DDY instructions.
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
svga_tgsi_insn.c 1695 * Translate/emit 4-operand (coord, ddx, ddy, sampler) texture instructions.
1705 struct src_register ddy; local
1710 ddy = translate_src_register( emit, &insn->Src[2] );
1724 return submit_op4( emit, inst, dst, texcoord, sampler, ddx, ddy );
2049 * Translate/emit TGSI DDX, DDY instructions.
  /xsrc/external/mit/MesaLib/dist/src/amd/llvm/
ac_nir_to_llvm.c 459 /* for DDX we want to next X pixel, DDY next Y pixel. */
3275 * interp_param.I = ddy * offset/sample.y + temp1;
3277 * interp_param.J = ddy * offset/sample.y + temp1;
4550 LLVMValueRef ddx = NULL, ddy = NULL; local
4598 ddy = get_src(ctx, instr->src[i].src);
4599 assert(LLVMTypeOf(ddy) == LLVMTypeOf(ddx));
4698 if (ddx || ddy) {
4724 ac_to_float(&ctx->ac, ac_llvm_extract_elem(&ctx->ac, ddy, i));
  /xsrc/external/mit/MesaLib.old/dist/src/amd/common/
ac_nir_to_llvm.c 532 /* for DDX we want to next X pixel, DDY next Y pixel. */
3039 * interp_param.I = ddy * offset/sample.y + temp1;
3041 * interp_param.J = ddy * offset/sample.y + temp1;
3668 LLVMValueRef ddx = NULL, ddy = NULL; local
3711 ddy = get_src(ctx, instr->src[i].src);
3780 if (ddx || ddy) {
3807 ac_llvm_extract_elem(&ctx->ac, ddy, i));
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/nir/
nir_to_tgsi.c 2180 int ddy = nir_tex_instr_src_index(instr, nir_tex_src_ddy); local
2182 s.srcs[s.i++] = ntt_get_src(c, instr->src[ddy].src);
  /xsrc/external/mit/MesaLib/dist/src/amd/compiler/
aco_instruction_selection.cpp 9131 prepare_cube_coords(isel_context* ctx, std::vector<Temp>& coords, Temp* ddx, Temp* ddy,
9177 build_cube_select(ctx, ma, id, i ? *ddy : *ddx, &deriv_ma, &deriv_sc, &deriv_tc);
9187 *(i ? ddy : ddx) = bld.pseudo(aco_opcode::p_create_vector, bld.def(v2), x, y);
9227 offset = Temp(), ddx = Temp(), ddy = Temp(), clamped_lod = Temp();
9280 ddy = get_ssa_temp(ctx, instr->src[i].src.ssa);
9367 prepare_cube_coords(ctx, coords, &ddx, &ddy, instr->op == nir_texop_txd,
9373 assert(has_ddx && has_ddy && ddx.size() == 1 && ddy.size() == 1);
9375 derivs = {ddx, zero, ddy, zero};
9379 for (unsigned i = 0; has_ddy && i < ddy.size(); i++)
9380 derivs.emplace_back(emit_extract_vector(ctx, ddy, i, v1))
    [all...]

Completed in 135 milliseconds