Home
last modified time | relevance | path

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

/external/deqp/modules/glshared/
DglsTextureTestUtil.hpp388 const ReferenceParams& sampleParams,
398 const ReferenceParams& sampleParams,
408 const ReferenceParams& sampleParams,
418 const ReferenceParams& sampleParams,
428 const ReferenceParams& sampleParams,
438 const ReferenceParams& sampleParams,
448 const ReferenceParams& sampleParams,
458 const ReferenceParams& sampleParams,
467 const ReferenceParams& sampleParams,
476 const ReferenceParams& sampleParams,
[all …]
DglsTextureTestUtil.cpp1675 const ReferenceParams& sampleParams, in computeTextureLookupDiff() argument
1683 …const tcu::Texture1DView src = getSubView(baseView, sampleParams.baseLevel, sampleParams.maxLevel… in computeTextureLookupDiff()
1694 const tcu::Vec3 triW[2] = { sampleParams.w.swizzle(0, 1, 2), sampleParams.w.swizzle(3, 2, 1) }; in computeTextureLookupDiff()
1696 …const tcu::Vec2 lodBias ((sampleParams.flags & ReferenceParams::USE_BIAS) ? sampleParams.bias :… in computeTextureLookupDiff()
1718 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff()
1719 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff()
1757 …pedLod = tcu::clampLodBounds(lodBounds + lodBias, tcu::Vec2(sampleParams.minLod, sampleParams.maxL… in computeTextureLookupDiff()
1758 …const bool isOk = tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clamped… in computeTextureLookupDiff()
1777 const ReferenceParams& sampleParams, in computeTextureLookupDiff() argument
1785 …const tcu::Texture2DView src = getSubView(baseView, sampleParams.baseLevel, sampleParams.maxLevel… in computeTextureLookupDiff()
[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.cpp307 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
326 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); in iterate()
327sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate()
328sampleParams.flags = (isProjected ? ReferenceParams::PROJECTED : 0) | (useLodBias ? ReferencePar… in iterate()
329 sampleParams.lodMode = LODMODE_EXACT; // Use ideal lod. in iterate()
377 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate()
380 sampleParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate()
384 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate()
429 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate()
432 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/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.cpp539 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()
576 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate()
587 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate()
609 m_textures[curTexNdx]->getRefTexture(), sampleParams, 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/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.cpp711 const ReferenceParams sampleParams (TEXTURETYPE_CUBE, tcu::Sampler(tcu::Sampler::CLAMP_TO_EDGE, in iterate() local
729 …compareOk = verifyTextureResult(m_testCtx, result, redTex, &texCoord[0], sampleParams, lookupPrec,… in iterate()