Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureShadowTests.cpp133 const ReferenceParams& sampleParams, in verifyTexCompareResult() argument
157 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), clampedSource, texCoord, sampleParams); in verifyTexCompareResult()
158 …eference.getAccess(), errorMask.getAccess(), clampedSource, texCoord, sampleParams, comparePrec, l… in verifyTexCompareResult()
164 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); in verifyTexCompareResult()
165 …(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, comparePrec, l… in verifyTexCompareResult()
326 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
331sampleParams.sampler = util::createSampler(m_testParameters.wrapS, m_testParameters.wrapT, m_tes… in iterate()
332 sampleParams.sampler.compare = m_testParameters.compareOp; in iterate()
333 sampleParams.samplerType = SAMPLERTYPE_SHADOW; in iterate()
334 sampleParams.lodMode = LODMODE_EXACT; in iterate()
[all …]
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp188 const ReferenceParams& sampleParams,
198 const ReferenceParams& sampleParams,
208 const ReferenceParams& sampleParams,
218 const ReferenceParams& sampleParams,
228 const ReferenceParams& sampleParams,
238 const ReferenceParams& sampleParams,
248 const ReferenceParams& sampleParams,
258 const ReferenceParams& sampleParams,
267 const ReferenceParams& sampleParams,
276 const ReferenceParams& sampleParams,
[all …]
DgluTextureTestUtil.cpp1230 const ReferenceParams& sampleParams, in computeTextureLookupDiff() argument
1239 …ctiveTextureView(getSubView(baseView, sampleParams.baseLevel, sampleParams.maxLevel), srcLevelStor… in computeTextureLookupDiff()
1250 …const tcu::Vec3 triW[2] = { sampleParams.w.swizzle(0, 1, 2), sampleParams.w.swizzle(3, 2… in computeTextureLookupDiff()
1252 …const tcu::Vec2 lodBias ((sampleParams.flags & ReferenceParams::USE_BIAS) ? sampleParams in computeTextureLookupDiff()
1274 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff()
1275 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff()
1313 …pedLod = tcu::clampLodBounds(lodBounds + lodBias, tcu::Vec2(sampleParams.minLod, sampleParams.maxL… in computeTextureLookupDiff()
1314 …const bool isOk = tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clamped… in computeTextureLookupDiff()
1333 const ReferenceParams& sampleParams, in computeTextureLookupDiff() argument
1342 …ctiveTextureView(getSubView(baseView, sampleParams.baseLevel, sampleParams.maxLevel), srcLevelStor… in computeTextureLookupDiff()
[all …]
/external/deqp/modules/gles3/functional/
Des3fTextureShadowTests.cpp102 const ReferenceParams& sampleParams, in verifyTexCompareResult() argument
126 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), clampedSource, texCoord, sampleParams); in verifyTexCompareResult()
127 …eference.getAccess(), errorMask.getAccess(), clampedSource, texCoord, sampleParams, comparePrec, l… in verifyTexCompareResult()
133 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); in verifyTexCompareResult()
134 …(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, comparePrec, l… in verifyTexCompareResult()
331 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
339 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate()
340 sampleParams.sampler.compare = glu::mapGLCompareFunc(m_compareFunc); in iterate()
341 sampleParams.samplerType = SAMPLERTYPE_SHADOW; in iterate()
342 sampleParams.lodMode = LODMODE_EXACT; in iterate()
[all …]
Des3fTextureMipmapTests.cpp306 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
325 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); in iterate()
326sampleParams.samplerType = glu::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate()
327sampleParams.flags = (isProjected ? ReferenceParams::PROJECTED : 0) | (useLodBias ? ReferencePar… in iterate()
328 sampleParams.lodMode = LODMODE_EXACT; // Use ideal lod. in iterate()
376 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate()
379 sampleParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate()
383 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate()
428 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate()
431 sampleParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate()
[all …]
Des3fTextureFilteringTests.cpp568 ReferenceParams sampleParams (TEXTURETYPE_CUBE); in iterate() local
584sampleParams.sampler = glu::mapGLSampler(GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE, m_minFilter, m_ma… in iterate()
585 sampleParams.sampler.seamlessCubeMap = true; in iterate()
586 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
587 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
588 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
589 sampleParams.lodMode = LODMODE_EXACT; in iterate()
605 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate()
620 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorSc… in iterate()
626 &texCoord[0], sampleParams, lookupPrecision, lodPrecision, pixelFormat); in iterate()
[all …]
/external/deqp/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp264 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
285 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); in iterate()
286sampleParams.samplerType = glu::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate()
287 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
288 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
289sampleParams.flags = (isProjected ? ReferenceParams::PROJECTED : 0) | (useLodBias ? ReferencePar… in iterate()
340 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate()
343 sampleParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate()
347 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate()
352 sampleParams.lodMode = LODMODE_EXACT; in iterate()
[all …]
Des2aTextureFilteringTests.cpp527 ReferenceParams sampleParams (TEXTURETYPE_CUBE); in iterate() local
544 sampleParams.sampler = mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate()
545 sampleParams.sampler.seamlessCubeMap = false; in iterate()
546 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
547 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
548 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
549 sampleParams.lodMode = LODMODE_EXACT; in iterate()
564 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate()
574 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate()
595 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate()
[all …]
/external/deqp/modules/gles3/accuracy/
Des3aTextureMipmapTests.cpp255 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
277 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); in iterate()
278sampleParams.samplerType = glu::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate()
279 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
280 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
281sampleParams.flags = (isProjected ? ReferenceParams::PROJECTED : 0) | (useLodBias ? ReferencePar… in iterate()
332 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate()
335 sampleParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate()
339 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate()
344 sampleParams.lodMode = LODMODE_EXACT; in iterate()
[all …]
Des3aTextureFilteringTests.cpp536 ReferenceParams sampleParams (TEXTURETYPE_CUBE); in iterate() local
553 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate()
554 sampleParams.sampler.seamlessCubeMap = true; in iterate()
555 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
556 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
557 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
558 sampleParams.lodMode = LODMODE_EXACT; in iterate()
573 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate()
583 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate()
604 m_textures[curTexNdx]->getRefTexture(), sampleParams, in iterate()
[all …]
/external/deqp/modules/gles2/functional/
Des2fTextureFilteringTests.cpp541 ReferenceParams sampleParams (TEXTURETYPE_CUBE); in iterate() local
557 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate()
558 sampleParams.sampler.seamlessCubeMap = true; in iterate()
559 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
560 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
561 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
562 sampleParams.lodMode = LODMODE_EXACT; in iterate()
578 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate()
593 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorSc… in iterate()
599 &texCoord[0], sampleParams, lookupPrecision, lodPrecision, pixelFormat); in iterate()
Des2fTextureMipmapTests.cpp262 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
281 sampleParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, magFilter); in iterate()
282sampleParams.samplerType = glu::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getForm… in iterate()
283sampleParams.flags = (isProjected ? ReferenceParams::PROJECTED : 0) | (useLodBias ? ReferencePar… in iterate()
284 sampleParams.lodMode = LODMODE_EXACT; // Use ideal lod. in iterate()
332 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate()
335 sampleParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate()
339 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate()
384 sampleParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate()
387 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()