Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureCompressedFormatTests.cpp199 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
204sampleParams.sampler = util::createSampler(m_testParameters.wrapS, m_testParameters.wrapT, m_tes… in iterate()
205 sampleParams.samplerType = SAMPLERTYPE_FLOAT; in iterate()
206 sampleParams.lodMode = LODMODE_EXACT; in iterate()
212 sampleParams.colorBias = tcu::Vec4(0.0f); in iterate()
213 sampleParams.colorScale = tcu::Vec4(1.0f); in iterate()
217 sampleParams.colorBias = tcu::Vec4(0.5f, 0.0f, 0.0f, 0.0f); in iterate()
218 sampleParams.colorScale = tcu::Vec4(0.5f, 1.0f, 1.0f, 1.0f); in iterate()
222 sampleParams.colorBias = tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f); in iterate()
223 sampleParams.colorScale = tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f); in iterate()
[all …]
DvktTextureShadowTests.cpp135 const ReferenceParams& sampleParams, in verifyTexCompareResult() argument
159 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), clampedSource, texCoord, sampleParams); in verifyTexCompareResult()
160 …eference.getAccess(), errorMask.getAccess(), clampedSource, texCoord, sampleParams, comparePrec, l… in verifyTexCompareResult()
166 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); in verifyTexCompareResult()
167 …(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, comparePrec, l… in verifyTexCompareResult()
328 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
333sampleParams.sampler = util::createSampler(m_testParameters.wrapS, m_testParameters.wrapT, m_tes… in iterate()
334 sampleParams.sampler.compare = m_testParameters.compareOp; in iterate()
335 sampleParams.samplerType = SAMPLERTYPE_SHADOW; in iterate()
336 sampleParams.lodMode = LODMODE_EXACT; in iterate()
[all …]
DvktTextureSwizzleTests.cpp138 ReferenceParams sampleParams (TEXTURETYPE_2D); in iterate() local
143sampleParams.sampler = util::createSampler(m_testParameters.wrapS, m_testParameters.wrapT, m_test… in iterate()
144sampleParams.samplerType = isCompressedFormat(m_testParameters.format) ? SAMPLERTYPE_FLOAT : getSa… in iterate()
145 sampleParams.lodMode = LODMODE_EXACT; in iterate()
146 sampleParams.colorBias = tcu::Vec4(lookupBias); in iterate()
147 sampleParams.colorScale = tcu::Vec4(lookupScale); in iterate()
149 if (sampleParams.colorBias != tcu::Vec4(0.0f)) in iterate()
150 sampleParams.flags = RenderParams::USE_BIAS; in iterate()
152 log << TestLog::Message << "Compare reference value = " << sampleParams.ref << TestLog::EndMessage; in iterate()
157 m_renderer.renderQuad(rendered, 0, &texCoord[0], sampleParams); in iterate()
[all …]
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp198 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,
268 const ReferenceParams& sampleParams,
277 const ReferenceParams& sampleParams,
286 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.cpp588 ReferenceParams sampleParams (TEXTURETYPE_CUBE); in iterate() local
604sampleParams.sampler = glu::mapGLSampler(GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE, m_minFilter, m_ma… in iterate()
605 sampleParams.sampler.seamlessCubeMap = true; in iterate()
606 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
607 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
608 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
609 sampleParams.lodMode = LODMODE_EXACT; in iterate()
625 m_renderer.renderQuad(0, &texCoord[0], sampleParams); in iterate()
640 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorSc… in iterate()
646 &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.cpp716 const ReferenceParams sampleParams (TEXTURETYPE_CUBE, tcu::Sampler(tcu::Sampler::CLAMP_TO_EDGE, in iterate() local
734 …compareOk = verifyTextureResult(m_testCtx, result, redTex, &texCoord[0], sampleParams, lookupPrec,… in iterate()