Home
last modified time | relevance | path

Searched refs:dPdx (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/glsl/builtins/profiles/
DARB_shader_texture_lod.glsl3 float P, float dPdx, float dPdy);
5 vec2 P, float dPdx, float dPdy);
7 vec4 P, float dPdx, float dPdy);
10 vec2 P, vec2 dPdx, vec2 dPdy);
12 vec3 P, vec2 dPdx, vec2 dPdy);
14 vec4 P, vec2 dPdx, vec2 dPdy);
17 vec3 P, vec3 dPdx, vec3 dPdy);
19 vec4 P, vec3 dPdx, vec3 dPdy);
22 vec3 P, vec3 dPdx, vec3 dPdy);
25 vec3 P, float dPdx, float dPdy);
[all …]
D140.glsl802 vec4 textureGrad( sampler1D sampler, float P, float dPdx, float dPdy);
803 ivec4 textureGrad(isampler1D sampler, float P, float dPdx, float dPdy);
804 uvec4 textureGrad(usampler1D sampler, float P, float dPdx, float dPdy);
806 vec4 textureGrad( sampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy);
807 ivec4 textureGrad(isampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy);
808 uvec4 textureGrad(usampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy);
810 vec4 textureGrad( sampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy);
811 ivec4 textureGrad(isampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy);
812 uvec4 textureGrad(usampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy);
814 vec4 textureGrad( samplerCube sampler, vec3 P, vec3 dPdx, vec3 dPdy);
[all …]
D130.glsl747 vec4 textureGrad( sampler1D sampler, float P, float dPdx, float dPdy);
748 ivec4 textureGrad(isampler1D sampler, float P, float dPdx, float dPdy);
749 uvec4 textureGrad(usampler1D sampler, float P, float dPdx, float dPdy);
751 vec4 textureGrad( sampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy);
752 ivec4 textureGrad(isampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy);
753 uvec4 textureGrad(usampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy);
755 vec4 textureGrad( sampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy);
756 ivec4 textureGrad(isampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy);
757 uvec4 textureGrad(usampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy);
759 vec4 textureGrad( samplerCube sampler, vec3 P, vec3 dPdx, vec3 dPdy);
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_lower_texture_gradients.cpp95 const glsl_type *grad_type = ir->lod_info.grad.dPdx->type; in visit_leave()
119 ir_variable *dPdx = in visit_leave() local
121 emit(dPdx, mul(size, ir->lod_info.grad.dPdx)); in visit_leave()
129 if (dPdx->type->is_scalar()) { in visit_leave()
130 rho = expr(ir_binop_max, expr(ir_unop_abs, dPdx), in visit_leave()
133 rho = expr(ir_binop_max, expr(ir_unop_sqrt, dot(dPdx, dPdx)), in visit_leave()
Dbrw_vec4_visitor.cpp1857 src_reg lod, dPdx, dPdy; in visit() local
1871 ir->lod_info.grad.dPdx->accept(this); in visit()
1872 dPdx = this->result; in visit()
1877 lod_type = ir->lod_info.grad.dPdx->type; in visit()
1985 dPdx.swizzle = BRW_SWIZZLE4(SWIZZLE_X,SWIZZLE_X,SWIZZLE_Y,SWIZZLE_Y); in visit()
1987 emit(MOV(dst_reg(MRF, param_base + 1, type, WRITEMASK_XZ), dPdx)); in visit()
1992 dPdx.swizzle = BRW_SWIZZLE_ZZZZ; in visit()
1994 emit(MOV(dst_reg(MRF, param_base + 2, type, WRITEMASK_X), dPdx)); in visit()
1999 emit(MOV(dst_reg(MRF, param_base + 1, type, WRITEMASK_XYZ), dPdx)); in visit()
Dbrw_fs_visitor.cpp792 fs_reg &dPdx = lod; in emit_texture_gen4() local
815 for (int i = 0; i < ir->lod_info.grad.dPdx->type->vector_elements; i++) { in emit_texture_gen4()
816 emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), dPdx); in emit_texture_gen4()
817 dPdx.reg_offset++; in emit_texture_gen4()
819 mlen += MAX2(ir->lod_info.grad.dPdx->type->vector_elements, 2); in emit_texture_gen4()
1000 for (int i = 0; i < ir->lod_info.grad.dPdx->type->vector_elements; i++) { in emit_texture_gen5()
1313 ir->lod_info.grad.dPdx->accept(this); in visit()
/external/skia/src/sksl/
Dsksl.include403 $gvec4 textureGrad($gsampler1D sampler, float P, float dPdx, float dPdy);
404 $gvec4 textureGrad($gsampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy);
405 $gvec4 textureGrad($gsampler3D sampler, vec3 P, vec3 dPdx, vec3 dPdy);
406 $gvec4 textureGrad($gsamplerCube sampler, vec3 P, vec3 dPdx, vec3 dPdy);
407 $gvec4 textureGrad($gsampler2DRect sampler, vec2 P, vec2 dPdx, vec2 dPdy);
408 float textureGrad(sampler2DRectShadow sampler, vec3 P, vec2 dPdx, vec2 dPdy);
409 float textureGrad(sampler1DShadow sampler, vec3 P, float dPdx, float dPdy);
410 float textureGrad(sampler2DShadow sampler, vec3 P, vec2 dPdx, vec2 dPdy);
411 float textureGrad(samplerCubeShadow sampler, vec4 P, vec3 dPdx, vec3 dPdy);
412 $gvec4 textureGrad($gsampler1DArray sampler, vec2 P, float dPdx, float dPdy);
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.cpp802 const Vec4& dPdx, in verifySampleCubemapFace() argument
819 lodBounds = calcLodBounds(dPdx.swizzle(0, 1, 2), in verifySampleCubemapFace()
886 …const Vec4 dPdx = (m_sampleLookupSettings.lookupLodMode == LOOKUP_LOD_MODE_DERIVATIVES) ? args.dPd… in verifySampleImpl() local
894 const Vec3 drdx = dPdx.swizzle(0, 1, 2); in verifySampleImpl()
932 return verifySampleCubemapFace(args, result, coord, dPdx, dPdy, 0, report); in verifySampleImpl()
DvktSampleVerifier.hpp46 tcu::Vec4 dPdx; member
174 const tcu::Vec4& dPdx,
DvktSampleVerifierUtil.hpp47 tcu::Vec2 calcLodBounds (const tcu::Vec3& dPdx,
DvktTextureFilteringExplicitLodTests.cpp832 dPdxs .push_back(sampleArgs.dPdx[compNdx]); in execute()
1278 Vec4 dPdx; in getSampleArgs() member
1300 cur.dPdx = derivativePairs[derivNdx].dPdx; in getSampleArgs()
DvktSampleVerifierUtil.cpp268 Vec2 calcLodBounds (const Vec3& dPdx, in calcLodBounds() argument
277 const Vec3 mx = abs(dPdx) * size.asFloat(); in calcLodBounds()
/external/mesa3d/src/glsl/
Dir_clone.cpp259 new_tex->lod_info.grad.dPdx = this->lod_info.grad.dPdx->clone(mem_ctx, ht); in clone()
Dir_rvalue_visitor.cpp70 handle_rvalue(&ir->lod_info.grad.dPdx); in rvalue_visit()
Dopt_tree_grafting.cpp288 if (do_graft(&ir->lod_info.grad.dPdx) || in visit_enter()
Dir_hv_accept.cpp230 s = this->lod_info.grad.dPdx->accept(v); in accept()
Dir_print_visitor.cpp291 ir->lod_info.grad.dPdx->accept(this); in visit()
Dir_reader.cpp1033 tex->lod_info.grad.dPdx = read_rvalue(s_dx); in read_texture()
1034 if (tex->lod_info.grad.dPdx == NULL) { in read_texture()
Dir.h1425 ir_rvalue *dPdx; /**< Partial derivative of coordinate wrt X */ member
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir.cpp888 dPdx[c].set(NULL); in ~TexInstruction()
905 tex->dPdx[c].set(dPdx[c]); in clone()
Dnv50_ir.h814 ValueRef dPdx[3]; variable
Dnv50_ir_lowering_nv50.cpp755 bld.mkQuadop(qOps[l][0], crd[c], l, i->dPdx[c].get(), crd[c]); in handleTXD()
Dnv50_ir_from_sm4.cpp1600 texi->dPdx[c] = src(3, c); in handleSAMPLE()
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_lowering_nvc0.cpp777 bld.mkQuadop(qOps[l][0], crd[c], l, i->dPdx[c].get(), crd[c]); in handleManualTXD()
824 txd->setSrc(arg + c * 2 + 0, txd->dPdx[c]); in handleTXD()
826 txd->dPdx[c].set(NULL); in handleTXD()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp2021 ir->lod_info.grad.dPdx->accept(this); in visit()

12