/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.hpp | 204 const tcu::LookupPrecision& lookupPrec, 214 const tcu::LookupPrecision& lookupPrec, 224 const tcu::LookupPrecision& lookupPrec, 234 const tcu::LookupPrecision& lookupPrec, 244 const tcu::LookupPrecision& lookupPrec, 254 const tcu::LookupPrecision& lookupPrec, 264 const tcu::LookupPrecision& lookupPrec, 274 const tcu::LookupPrecision& lookupPrec, 283 const tcu::LookupPrecision& lookupPrec, 292 const tcu::LookupPrecision& lookupPrec, [all …]
|
D | gluTextureTestUtil.cpp | 1251 const tcu::LookupPrecision& lookupPrec, in computeTextureLookupDiff() argument 1298 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1334 …const bool isOk = tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clamped… in computeTextureLookupDiff() 1354 const tcu::LookupPrecision& lookupPrec, in computeTextureLookupDiff() argument 1405 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1455 if (tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clampedLod, resPix)) in computeTextureLookupDiff() 1479 const tcu::LookupPrecision& lookupPrec, in verifyTextureResult() argument 1488 DE_ASSERT(getCompareMask(pixelFormat) == lookupPrec.colorMask); in verifyTextureResult() 1491 …rence.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, lodPrec, testCt… in verifyTextureResult() 1515 const tcu::LookupPrecision& lookupPrec, in verifyTextureResult() argument [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureMipmapTests.cpp | 337 tcu::LookupPrecision lookupPrec; in iterate() local 341 lookupPrec.coordBits = tcu::IVec3(20, 20, 0); in iterate() 342 …lookupPrec.uvwBits = tcu::IVec3(16, 16, 0); // Doesn't really matter since pixels are unicolored. in iterate() 343 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrili… in iterate() 344 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate() 383 lookupPrec, lodPrec, m_context.getTestContext().getWatchDog()); in iterate() 571 tcu::LookupPrecision lookupPrec; in iterate() local 580 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate() 581 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat)-2, tcu::IV… in iterate() 582 lookupPrec.coordBits = isProjected ? tcu::IVec3(8) : tcu::IVec3(10); in iterate() [all …]
|
D | vktTextureConversionTests.cpp | 141 tcu::LookupPrecision lookupPrec; in verifyPixels() local 154 lookupPrec.uvwBits = tcu::IVec3(5,5,0); in verifyPixels() 155 lookupPrec.coordBits = tcu::IVec3(20,20,0); in verifyPixels() 156 lookupPrec.colorMask = tcu::BVec4(nuc >= 1, nuc >= 2, nuc >=3, nuc >= 4); in verifyPixels() 157 lookupPrec.colorThreshold = tcu::Vec4(0.9f/float(-lim(m_inFormat, 0)), in verifyPixels() 164 lookupPrec, lodPrec, /*watchDog*/nullptr); in verifyPixels() 173 …stLog::Message << " ColorThreshold: " << lookupPrec.colorThreshold << ", ColorMask: " << loo… in verifyPixels()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureMipmapTests.cpp | 396 tcu::LookupPrecision lookupPrec; in iterate() local 400 lookupPrec.coordBits = tcu::IVec3(20, 20, 0); in iterate() 401 …lookupPrec.uvwBits = tcu::IVec3(16, 16, 0); // Doesn't really matter since pixels are unicolored. in iterate() 402 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrili… in iterate() 403 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate() 442 lookupPrec, lodPrec, m_testCtx.getWatchDog()); in iterate() 711 tcu::LookupPrecision lookupPrec; in iterate() local 720 lookupPrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate() 721 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderT… in iterate() 722 lookupPrec.coordBits = isProjected ? tcu::IVec3(8) : tcu::IVec3(10); in iterate() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureMipmapTests.cpp | 352 tcu::LookupPrecision lookupPrec; in iterate() local 356 lookupPrec.coordBits = tcu::IVec3(20, 20, 0); in iterate() 357 …lookupPrec.uvwBits = tcu::IVec3(16, 16, 0); // Doesn't really matter since pixels are unicolored. in iterate() 358 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrili… in iterate() 359 lookupPrec.colorMask = getCompareMask(pixelFormat); in iterate() 398 lookupPrec, lodPrec, m_testCtx.getWatchDog()); in iterate() 674 tcu::LookupPrecision lookupPrec; in iterate() local 683 lookupPrec.colorMask = getCompareMask(m_renderCtx.getRenderTarget().getPixelFormat()); in iterate() 684 …lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(m_renderCtx.getRenderT… in iterate() 685 lookupPrec.coordBits = isProjected ? tcu::IVec3(8) : tcu::IVec3(10); in iterate() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTextureGatherTests.cpp | 594 const PrecType& lookupPrec, in verifyGatherOffsets() argument 622 if (tcu::boolAny(tcu::logicalAnd(lookupPrec.colorMask, in verifyGatherOffsets() 624 lookupPrec.colorThreshold.template cast<ColorScalarType>())))) in verifyGatherOffsets() 626 …if (!isGatherOffsetsResultValid(texture, sampler, lookupPrec, texCoord, componentNdx, offsets, res… in verifyGatherOffsets() 1535 tcu::LookupPrecision lookupPrec; in verify() local 1536 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(colorBits); in verify() 1537 lookupPrec.coordBits = coordBits; in verify() 1538 lookupPrec.uvwBits = uvwBits; in verify() 1539 lookupPrec.colorMask = glu::TextureTestUtil::getCompareMask(pixelFormat); in verify() 1540 …return verifyGatherOffsets<float>(log, rendered, texture, texCoords, sampler, lookupPrec, componen… in verify() [all …]
|
D | es31fStencilTexturingTests.cpp | 721 tcu::LookupPrecision lookupPrec; in iterate() local 725 lookupPrec.colorMask = tcu::BVec4(true, true, true, true); in iterate() 726 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(IVec4(8, 8, 8, 8)); in iterate() 727 lookupPrec.coordBits = tcu::IVec3(22, 22, 22); in iterate() 728 lookupPrec.uvwBits = tcu::IVec3(5, 5, 0); in iterate() 734 …fyTextureResult(m_testCtx, result, redTex, &texCoord[0], sampleParams, lookupPrec, lodPrec, tcu::P… in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureGatherTests.cpp | 625 const PrecType& lookupPrec, in verifyGatherOffsets() argument 653 if (tcu::boolAny(tcu::logicalAnd(lookupPrec.colorMask, in verifyGatherOffsets() 655 lookupPrec.colorThreshold.template cast<ColorScalarType>())))) in verifyGatherOffsets() 657 …if (!isGatherOffsetsResultValid(texture, sampler, lookupPrec, texCoord, componentNdx, offsets, res… in verifyGatherOffsets() 1479 tcu::LookupPrecision lookupPrec; in verify() local 1480 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(colorBits); in verify() 1481 lookupPrec.coordBits = coordBits; in verify() 1482 lookupPrec.uvwBits = uvwBits; in verify() 1483 lookupPrec.colorMask = TextureTestUtil::getCompareMask(pixelFormat); in verify() 1484 …return verifyGatherOffsets<float>(log, rendered, texture, texCoords, sampler, lookupPrec, componen… in verify() [all …]
|