Home
last modified time | relevance | path

Searched refs:sampleParams (Results 1 – 12 of 12) sorted by relevance

/external/deqp/modules/glshared/
DglsTextureTestUtil.cpp1696 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 …]
DglsTextureTestUtil.hpp380 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/
Des3fTextureShadowTests.cpp100 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 …]
Des3fTextureMipmapTests.cpp305 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
324 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); in iterate()
325sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate()
326sampleParams.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 …]
Des3fTextureFilteringTests.cpp567 ReferenceParams sampleParams (TEXTURETYPE_CUBE); in iterate() local
583sampleParams.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/
Des2aTextureMipmapTests.cpp262 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
283 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); in iterate()
284sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate()
285 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
286 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
287sampleParams.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 …]
Des2aTextureFilteringTests.cpp525 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/
Des3aTextureMipmapTests.cpp254 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
276 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); in iterate()
277sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate()
278 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
279 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
280sampleParams.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 …]
Des3aTextureFilteringTests.cpp535 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/
Des2fTextureFilteringTests.cpp540 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()
Des2fTextureMipmapTests.cpp261 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
280 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); in iterate()
281sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate()
282sampleParams.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/
Des31fStencilTexturingTests.cpp713 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()