/external/deqp/modules/glshared/ |
D | glsTextureTestUtil.cpp | 1696 const ReferenceParams& sampleParams, in computeTextureLookupDiff() argument 1705 …ctiveTextureView(getSubView(baseView, sampleParams.baseLevel, sampleParams.maxLevel), srcLevelStor… in computeTextureLookupDiff() 1716 …const tcu::Vec3 triW[2] = { sampleParams.w.swizzle(0, 1, 2), sampleParams.w.swizzle(3, 2… in computeTextureLookupDiff() 1718 …const tcu::Vec2 lodBias ((sampleParams.flags & ReferenceParams::USE_BIAS) ? sampleParams… in computeTextureLookupDiff() 1740 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() 1741 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() 1779 …pedLod = tcu::clampLodBounds(lodBounds + lodBias, tcu::Vec2(sampleParams.minLod, sampleParams.maxL… in computeTextureLookupDiff() 1780 …const bool isOk = tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clamped… in computeTextureLookupDiff() 1799 const ReferenceParams& sampleParams, in computeTextureLookupDiff() argument 1808 …ctiveTextureView(getSubView(baseView, sampleParams.baseLevel, sampleParams.maxLevel), srcLevelStor… in computeTextureLookupDiff() [all …]
|
D | glsTextureTestUtil.hpp | 380 const ReferenceParams& sampleParams, 390 const ReferenceParams& sampleParams, 400 const ReferenceParams& sampleParams, 410 const ReferenceParams& sampleParams, 420 const ReferenceParams& sampleParams, 430 const ReferenceParams& sampleParams, 440 const ReferenceParams& sampleParams, 450 const ReferenceParams& sampleParams, 459 const ReferenceParams& sampleParams, 468 const ReferenceParams& sampleParams, [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureShadowTests.cpp | 100 const ReferenceParams& sampleParams, in verifyTexCompareResult() argument 124 sampleTexture(SurfaceAccess(reference, pixelFormat), clampedSource, texCoord, sampleParams); in verifyTexCompareResult() 125 …eference.getAccess(), errorMask.getAccess(), clampedSource, texCoord, sampleParams, comparePrec, l… in verifyTexCompareResult() 131 sampleTexture(SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); in verifyTexCompareResult() 132 …(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, comparePrec, l… in verifyTexCompareResult() 329 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local 337 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate() 338 sampleParams.sampler.compare = glu::mapGLCompareFunc(m_compareFunc); in iterate() 339 sampleParams.samplerType = SAMPLERTYPE_SHADOW; in iterate() 340 sampleParams.lodMode = LODMODE_EXACT; in iterate() [all …]
|
D | es3fTextureMipmapTests.cpp | 305 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local 324 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); in iterate() 325 …sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate() 326 …sampleParams.flags = (isProjected ? ReferenceParams::PROJECTED : 0) | (useLodBias ? ReferencePar… in iterate() 327 sampleParams.lodMode = LODMODE_EXACT; // Use ideal lod. in iterate() 375 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate() 378 sampleParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate() 382 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate() 427 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate() 430 sampleParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate() [all …]
|
D | es3fTextureFilteringTests.cpp | 567 ReferenceParams sampleParams (TEXTURETYPE_CUBE); in iterate() local 583 …sampleParams.sampler = glu::mapGLSampler(GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE, m_minFilter, m_ma… in iterate() 584 sampleParams.sampler.seamlessCubeMap = true; in iterate() 585 sampleParams.samplerType = getSamplerType(texFmt); in iterate() 586 sampleParams.colorBias = fmtInfo.lookupBias; in iterate() 587 sampleParams.colorScale = fmtInfo.lookupScale; in iterate() 588 sampleParams.lodMode = LODMODE_EXACT; in iterate() 604 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate() 619 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorSc… in iterate() 625 &texCoord[0], sampleParams, lookupPrecision, lodPrecision, pixelFormat); in iterate() [all …]
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureMipmapTests.cpp | 262 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local 283 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); in iterate() 284 …sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate() 285 sampleParams.colorBias = fmtInfo.lookupBias; in iterate() 286 sampleParams.colorScale = fmtInfo.lookupScale; in iterate() 287 …sampleParams.flags = (isProjected ? ReferenceParams::PROJECTED : 0) | (useLodBias ? ReferencePar… in iterate() 338 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate() 341 sampleParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate() 345 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate() 350 sampleParams.lodMode = LODMODE_EXACT; in iterate() [all …]
|
D | es2aTextureFilteringTests.cpp | 525 ReferenceParams sampleParams (TEXTURETYPE_CUBE); in iterate() local 542 sampleParams.sampler = mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate() 543 sampleParams.sampler.seamlessCubeMap = false; in iterate() 544 sampleParams.samplerType = getSamplerType(texFmt); in iterate() 545 sampleParams.colorBias = fmtInfo.lookupBias; in iterate() 546 sampleParams.colorScale = fmtInfo.lookupScale; in iterate() 547 sampleParams.lodMode = LODMODE_EXACT; in iterate() 562 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate() 572 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate() 593 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate() [all …]
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureMipmapTests.cpp | 254 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local 276 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); in iterate() 277 …sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate() 278 sampleParams.colorBias = fmtInfo.lookupBias; in iterate() 279 sampleParams.colorScale = fmtInfo.lookupScale; in iterate() 280 …sampleParams.flags = (isProjected ? ReferenceParams::PROJECTED : 0) | (useLodBias ? ReferencePar… in iterate() 331 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate() 334 sampleParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate() 338 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate() 343 sampleParams.lodMode = LODMODE_EXACT; in iterate() [all …]
|
D | es3aTextureFilteringTests.cpp | 535 ReferenceParams sampleParams (TEXTURETYPE_CUBE); in iterate() local 552 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate() 553 sampleParams.sampler.seamlessCubeMap = true; in iterate() 554 sampleParams.samplerType = getSamplerType(texFmt); in iterate() 555 sampleParams.colorBias = fmtInfo.lookupBias; in iterate() 556 sampleParams.colorScale = fmtInfo.lookupScale; in iterate() 557 sampleParams.lodMode = LODMODE_EXACT; in iterate() 572 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate() 582 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate() 603 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureFilteringTests.cpp | 540 ReferenceParams sampleParams (TEXTURETYPE_CUBE); in iterate() local 556 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate() 557 sampleParams.sampler.seamlessCubeMap = true; in iterate() 558 sampleParams.samplerType = getSamplerType(texFmt); in iterate() 559 sampleParams.colorBias = fmtInfo.lookupBias; in iterate() 560 sampleParams.colorScale = fmtInfo.lookupScale; in iterate() 561 sampleParams.lodMode = LODMODE_EXACT; in iterate() 577 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate() 592 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorSc… in iterate() 598 &texCoord[0], sampleParams, lookupPrecision, lodPrecision, pixelFormat); in iterate()
|
D | es2fTextureMipmapTests.cpp | 261 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local 280 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); in iterate() 281 …sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate() 282 …sampleParams.flags = (isProjected ? ReferenceParams::PROJECTED : 0) | (useLodBias ? ReferencePar… in iterate() 283 sampleParams.lodMode = LODMODE_EXACT; // Use ideal lod. in iterate() 331 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate() 334 sampleParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate() 338 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate() 383 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate() 386 sampleParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fStencilTexturingTests.cpp | 713 const ReferenceParams sampleParams (TEXTURETYPE_CUBE, tcu::Sampler(tcu::Sampler::CLAMP_TO_EDGE, in iterate() local 731 …compareOk = verifyTextureResult(m_testCtx, result, redTex, &texCoord[0], sampleParams, lookupPrec,… in iterate()
|