Home
last modified time | relevance | path

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

12

/external/skqp/src/sksl/
Dsksl.inc436 $gfloat4 textureGrad($gsampler1D sampler, float P, float dPdx, float dPdy);
437 $gfloat4 textureGrad($gsampler2D sampler, float2 P, float2 dPdx, float2 dPdy);
438 $gfloat4 textureGrad($gsampler3D sampler, float3 P, float3 dPdx, float3 dPdy);
439 $gfloat4 textureGrad($gsamplerCube sampler, float3 P, float3 dPdx, float3 dPdy);
440 $gfloat4 textureGrad($gsampler2DRect sampler, float2 P, float2 dPdx, float2 dPdy);
441 float textureGrad(sampler2DRectShadow sampler, float3 P, float2 dPdx, float2 dPdy);
442 float textureGrad(sampler1DShadow sampler, float3 P, float dPdx, float dPdy);
443 float textureGrad(sampler2DShadow sampler, float3 P, float2 dPdx, float2 dPdy);
444 float textureGrad(samplerCubeShadow sampler, float4 P, float3 dPdx, float3 dPdy);
445 $gfloat4 textureGrad($gsampler1DArray sampler, float2 P, float dPdx, float dPdy);
[all …]
/external/swiftshader/src/Pipeline/
DSpirvShaderSampling.cpp183 SIMD::Float dPdx; in emitSamplerRoutine() local
186 dPdx.x = Pointer<Float>(&dsx.x)[i]; in emitSamplerRoutine()
187 dPdx.y = Pointer<Float>(&dsx.y)[i]; in emitSamplerRoutine()
188 dPdx.z = Pointer<Float>(&dsx.z)[i]; in emitSamplerRoutine()
197 dPdx.y = Float(0.0f); in emitSamplerRoutine()
201 …Vector4f sample = s.sampleTexture(texture, sampler, uvw, q, lod[i], dPdx, dPdy, offset, sampleId, … in emitSamplerRoutine()
/external/angle/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp484 TIntermSymbol *dPdx = new TIntermSymbol(dPdxVar); in declareCoordTranslationFunction() local
656 TIntermSwizzle *dPdxX = new TIntermSwizzle(dPdx->deepCopy(), {0}); in declareCoordTranslationFunction()
657 TIntermSwizzle *dPdxY = new TIntermSwizzle(dPdx->deepCopy(), {1}); in declareCoordTranslationFunction()
658 TIntermSwizzle *dPdxZ = new TIntermSwizzle(dPdx->deepCopy(), {2}); in declareCoordTranslationFunction()
757 TIntermTyped *dPdx, in createCoordTransformationCall() argument
762 TIntermSequence *args = new TIntermSequence({P, dPdx, dPdy, dUVdx, dUVdy}); in createCoordTransformationCall()
771 TIntermTyped *dPdx = CreateZeroNode(*vec3Type); in createImplicitCoordTransformationCall() local
773 TIntermSequence *args = new TIntermSequence({P, dPdx, dPdy, dUVdx, dUVdy}); in createImplicitCoordTransformationCall()
889 TIntermTyped *dPdx = nullptr; in convertBuiltinFunction() local
894 dPdx = (*arguments)[2]->getAsTyped()->deepCopy(); in convertBuiltinFunction()
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_equals.cpp173 if (!lod_info.grad.dPdx->equals(other->lod_info.grad.dPdx, ignore) || in equals()
Dir_clone.cpp247 new_tex->lod_info.grad.dPdx = this->lod_info.grad.dPdx->clone(mem_ctx, ht); in clone()
Dir_rvalue_visitor.cpp76 handle_rvalue(&ir->lod_info.grad.dPdx); in rvalue_visit()
Dopt_tree_grafting.cpp295 if (do_graft(&ir->lod_info.grad.dPdx) || in visit_enter()
Dir_hv_accept.cpp218 s = this->lod_info.grad.dPdx->accept(v); in accept()
Dir_reader.cpp1095 tex->lod_info.grad.dPdx = read_rvalue(s_dx); in read_texture()
1096 if (tex->lod_info.grad.dPdx == NULL) { in read_texture()
Dir_print_visitor.cpp370 ir->lod_info.grad.dPdx->accept(this); in visit()
/external/deqp-deps/glslang/Test/baseResults/
D320.comp.out20 0:8 dPdx ( global highp float)
52 0:8 dPdx ( global highp float)
D450.frag.out40 0:15 dPdx ( global float)
207 0:15 dPdx ( global float)
DconstFold.frag.out19 0:30 dPdx ( global 4-component vector of float)
428 0:30 dPdx ( global 4-component vector of float)
Dtexture.frag.out210 0:62 dPdx ( global 2-component vector of float)
492 0:62 dPdx ( global 2-component vector of float)
/external/angle/third_party/glslang/src/Test/baseResults/
D320.comp.out20 0:8 dPdx ( global highp float)
52 0:8 dPdx ( global highp float)
D450.frag.out40 0:15 dPdx ( global float)
207 0:15 dPdx ( global float)
DconstFold.frag.out19 0:30 dPdx ( global 4-component vector of float)
428 0:30 dPdx ( global 4-component vector of float)
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.cpp775 const Vec4& dPdx, in verifySampleCubemapFace() argument
792 lodBounds = calcLodBounds(dPdx.swizzle(0, 1, 2), in verifySampleCubemapFace()
859 …const Vec4 dPdx = (m_sampleLookupSettings.lookupLodMode == LOOKUP_LOD_MODE_DERIVATIVES) ? args.dPd… in verifySampleImpl() local
867 const Vec3 drdx = dPdx.swizzle(0, 1, 2); in verifySampleImpl()
905 return verifySampleCubemapFace(args, result, coord, dPdx, dPdy, 0, report); in verifySampleImpl()
DvktSampleVerifier.hpp47 tcu::Vec4 dPdx; member
175 const tcu::Vec4& dPdx,
DvktSampleVerifierUtil.hpp47 tcu::Vec2 calcLodBounds (const tcu::Vec3& dPdx,
DvktTextureFilteringExplicitLodTests.cpp701 dPdxs .push_back(sampleArgs.dPdx[compNdx]); in execute()
1147 Vec4 dPdx; in getSampleArgs() member
1169 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/compiler/nir/
Dnir_lower_tex.c540 nir_ssa_def *dPdx = in lower_gradient_cube_map() local
566 dPdx, in lower_gradient_cube_map()
568 nir_swizzle(b, dPdx, xzy, 3), in lower_gradient_cube_map()
569 nir_swizzle(b, dPdx, yzx, 3))); in lower_gradient_cube_map()
656 nir_ssa_def *dPdx = nir_fmul(b, ddx, size); in lower_gradient() local
660 if (dPdx->num_components == 1) { in lower_gradient()
661 rho = nir_fmax(b, nir_fabs(b, dPdx), nir_fabs(b, dPdy)); in lower_gradient()
664 nir_fsqrt(b, nir_fdot(b, dPdx, dPdx)), in lower_gradient()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir.cpp920 dPdx[c].set(NULL); in ~TexInstruction()
940 tex->dPdx[c].set(dPdx[c]); in clone()
Dnv50_ir_lowering_gm107.cpp139 bld.mkOp3(OP_SHFL, TYPE_F32, tmp, i->dPdx[c].get(), lane, quad); in handleManualTXD()

12