Lines Matching refs:srcSize

235 static float computeNonProjectedTriLod (LodMode mode, const tcu::IVec2& dstSize, deInt32 srcSize, c…  in computeNonProjectedTriLod()  argument
237 float dux = (sq.z() - sq.x()) * (float)srcSize; in computeNonProjectedTriLod()
238 float duy = (sq.y() - sq.x()) * (float)srcSize; in computeNonProjectedTriLod()
273 …jectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec2& srcSize, const tcu::Vec3&… in computeNonProjectedTriLod() argument
275 float dux = (sq.z() - sq.x()) * (float)srcSize.x(); in computeNonProjectedTriLod()
276 float duy = (sq.y() - sq.x()) * (float)srcSize.x(); in computeNonProjectedTriLod()
277 float dvx = (tq.z() - tq.x()) * (float)srcSize.y(); in computeNonProjectedTriLod()
278 float dvy = (tq.y() - tq.x()) * (float)srcSize.y(); in computeNonProjectedTriLod()
314 …jectedTriLod (LodMode mode, const tcu::IVec2& dstSize, const tcu::IVec3& srcSize, const tcu::Vec3&… in computeNonProjectedTriLod() argument
316 float dux = (sq.z() - sq.x()) * (float)srcSize.x(); in computeNonProjectedTriLod()
317 float duy = (sq.y() - sq.x()) * (float)srcSize.x(); in computeNonProjectedTriLod()
318 float dvx = (tq.z() - tq.x()) * (float)srcSize.y(); in computeNonProjectedTriLod()
319 float dvy = (tq.y() - tq.x()) * (float)srcSize.y(); in computeNonProjectedTriLod()
320 float dwx = (rq.z() - rq.x()) * (float)srcSize.z(); in computeNonProjectedTriLod()
321 float dwy = (rq.y() - rq.x()) * (float)srcSize.z(); in computeNonProjectedTriLod()
438 int srcSize = src.getWidth(); in sampleTextureNonProjected() local
442 …od[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0]) + lodBi… in sampleTextureNonProjected()
443 …de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1]) + lodBias, params.m… in sampleTextureNonProjected()
473 tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); in sampleTextureNonProjected() local
478 …od[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]… in sampleTextureNonProjected()
479 …de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias,… in sampleTextureNonProjected()
656 const int srcSize = src.getSize(); in sampleTextureCube() local
689 …amp(computeCubeLodFromDerivates(params.lodMode, coord, coordDx, coordDy, srcSize) + lodBias, param… in sampleTextureCube()
715 tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); in sampleTextureNonProjected() local
721 …float triLod[2] = { computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0]… in sampleTextureNonProjected()
722 … computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1], triT[1]) + lodBias}; in sampleTextureNonProjected()
764 deInt32 srcSize = src.getWidth(); in sampleTextureNonProjected() local
769 …float triLod[2] = { computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0]… in sampleTextureNonProjected()
770 computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1]) + lodBias}; in sampleTextureNonProjected()
810 tcu::IVec3 srcSize = tcu::IVec3(src.getWidth(), src.getHeight(), src.getDepth()); in sampleTextureNonProjected() local
816 …od[2] = { de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[0], triT[0]… in sampleTextureNonProjected()
817 …de::clamp(computeNonProjectedTriLod(params.lodMode, dstSize, srcSize, triS[1], triT[1], triR[1]) +… in sampleTextureNonProjected()
1717 const int srcSize = src.getWidth(); in computeTextureLookupDiff() local
1763 …const float coordDx = triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy) * float(srcSize); in computeTextureLookupDiff()
1764 …const float coordDy = triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx) * float(srcSize); in computeTextureLookupDiff()
1776 … const float coordDxo = triDerivateX(triS[triNdx], triW[triNdx], wxo, dstW, nyo) * float(srcSize); in computeTextureLookupDiff()
1777 … const float coordDyo = triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo) * float(srcSize); in computeTextureLookupDiff()
1821 const tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); in computeTextureLookupDiff() local
1870 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize.asFloat(); in computeTextureLookupDiff()
1872 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat(); in computeTextureLookupDiff()
1885 triDerivateX(triT[triNdx], triW[triNdx], wxo, dstW, nyo)) * srcSize.asFloat(); in computeTextureLookupDiff()
1887 triDerivateY(triT[triNdx], triW[triNdx], wyo, dstH, nxo)) * srcSize.asFloat(); in computeTextureLookupDiff()
2005 const int srcSize = src.getSize(); in computeTextureLookupDiff() local
2079 …tcu::Vec2 lodBounds = tcu::computeCubeLodBoundsFromDerivates(coord, coordDx, coordDy, srcSize, lo… in computeTextureLookupDiff()
2098 …:Vec2 lodO = tcu::computeCubeLodBoundsFromDerivates(coordO, coordDxo, coordDyo, srcSize, lodPrec); in computeTextureLookupDiff()
2185 const tcu::IVec3 srcSize = tcu::IVec3(src.getWidth(), src.getHeight(), src.getDepth()); in computeTextureLookupDiff() local
2248 triDerivateX(triR[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize.asFloat(); in computeTextureLookupDiff()
2251 triDerivateY(triR[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat(); in computeTextureLookupDiff()
2265 triDerivateX(triR[triNdx], triW[triNdx], wxo, dstW, nyo)) * srcSize.asFloat(); in computeTextureLookupDiff()
2268 triDerivateY(triR[triNdx], triW[triNdx], wyo, dstH, nxo)) * srcSize.asFloat(); in computeTextureLookupDiff()
2355 …const float srcSize = float(src.getWidth()); // For lod computation, thus #layers is ig… in computeTextureLookupDiff() local
2403 const float coordDx = triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy) * srcSize; in computeTextureLookupDiff()
2404 const float coordDy = triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx) * srcSize; in computeTextureLookupDiff()
2416 const float coordDxo = triDerivateX(triS[triNdx], triW[triNdx], wxo, dstW, nyo) * srcSize; in computeTextureLookupDiff()
2417 const float coordDyo = triDerivateY(triS[triNdx], triW[triNdx], wyo, dstH, nxo) * srcSize; in computeTextureLookupDiff()
2463 …const tcu::Vec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()).asFloat(); // For … in computeTextureLookupDiff() local
2514 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize; in computeTextureLookupDiff()
2516 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize; in computeTextureLookupDiff()
2529 triDerivateX(triT[triNdx], triW[triNdx], wxo, dstW, nyo)) * srcSize; in computeTextureLookupDiff()
2531 triDerivateY(triT[triNdx], triW[triNdx], wyo, dstH, nxo)) * srcSize; in computeTextureLookupDiff()
2651 const int srcSize = src.getSize(); in computeTextureLookupDiff() local
2727 …s = tcu::computeCubeLodBoundsFromDerivates(coord.toWidth<3>(), coordDx, coordDy, srcSize, lodPrec); in computeTextureLookupDiff()
2746 …:Vec2 lodO = tcu::computeCubeLodBoundsFromDerivates(coordO, coordDxo, coordDyo, srcSize, lodPrec); in computeTextureLookupDiff()
2831 const tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); in computeTextureCompareDiff() local
2885 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize.asFloat(); in computeTextureCompareDiff()
2887 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat(); in computeTextureCompareDiff()
2900 triDerivateX(triT[triNdx], triW[triNdx], wxo, dstW, nyo)) * srcSize.asFloat(); in computeTextureCompareDiff()
2902 triDerivateY(triT[triNdx], triW[triNdx], wyo, dstH, nxo)) * srcSize.asFloat(); in computeTextureCompareDiff()
2944 const int srcSize = src.getSize(); in computeTextureCompareDiff() local
3006 …tcu::Vec2 lodBounds = tcu::computeCubeLodBoundsFromDerivates(coord, coordDx, coordDy, srcSize, lo… in computeTextureCompareDiff()
3025 …:Vec2 lodO = tcu::computeCubeLodBoundsFromDerivates(coordO, coordDxo, coordDyo, srcSize, lodPrec); in computeTextureCompareDiff()
3066 const tcu::IVec2 srcSize = tcu::IVec2(src.getWidth(), src.getHeight()); in computeTextureCompareDiff() local
3122 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy)) * srcSize.asFloat(); in computeTextureCompareDiff()
3124 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triNx)) * srcSize.asFloat(); in computeTextureCompareDiff()
3137 triDerivateX(triT[triNdx], triW[triNdx], wxo, dstW, nyo)) * srcSize.asFloat(); in computeTextureCompareDiff()
3139 triDerivateY(triT[triNdx], triW[triNdx], wyo, dstH, nxo)) * srcSize.asFloat(); in computeTextureCompareDiff()