Lines Matching refs:TextureTestUtil
544 const glu::TextureTestUtil::ReferenceParams& samplerParams);
548 const glu::TextureTestUtil::ReferenceParams& samplerParams);
550 const glu::TextureTestUtil::ReferenceParams& samplerParams);
554 const glu::TextureTestUtil::ReferenceParams& samplerParams);
558 const glu::TextureTestUtil::ReferenceParams& samplerParams,
564 const glu::TextureTestUtil::ReferenceParams& samplerParams,
572 const glu::TextureTestUtil::ReferenceParams& samplerParams,
577 const glu::TextureTestUtil::ReferenceParams& samplerParams,
582 glu::TextureTestUtil::ReferenceParams genSamplerParams (const IterationConfig& config) const;
609 de::MovePtr<gls::TextureTestUtil::TextureRenderer> m_renderer;
689 m_renderer = de::MovePtr<gls::TextureTestUtil::TextureRenderer>(new gls::TextureTestUtil::TextureRenderer(m_context.getRenderContext(), m_testCtx.getLog(), glslVersion, glu::PRECISION_HIGHP));
718 const glu::TextureTestUtil::ReferenceParams samplerParams = genSamplerParams(iterationConfig);
732 void TextureBorderClampTest::logParams (const IterationConfig& config, const glu::TextureTestUtil::ReferenceParams& samplerParams)
765 const glu::TextureTestUtil::ReferenceParams& samplerParams)
768 const gls::TextureTestUtil::RandomViewport viewport (m_context.getRenderTarget(), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, getIterationSeed(config));
772 glu::TextureTestUtil::computeQuadTexCoord2D(texCoord, config.p0, config.p1);
871 void TextureBorderClampTest::renderQuad (const float* texCoord, const glu::TextureTestUtil::ReferenceParams& samplerParams)
912 const glu::TextureTestUtil::ReferenceParams& samplerParams)
920 glu::TextureTestUtil::computeQuadTexCoord2D(texCoord, config.p0, config.p1);
933 const tcu::IVec4 colorBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - tcu::IVec4(colorErrorBits), tcu::IVec4(0));
939 lookupPrecision.colorMask = glu::TextureTestUtil::getCompareMask(pixelFormat);
1013 const glu::TextureTestUtil::ReferenceParams& samplerParams,
1022 glu::TextureTestUtil::sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), m_texture->getRefTexture(), texCoord, samplerParams);
1024 numFailedPixels = glu::TextureTestUtil::computeTextureLookupDiff(renderedFrame, reference.getAccess(), errorMask.getAccess(), m_texture->getRefTexture(),
1043 const glu::TextureTestUtil::ReferenceParams& samplerParams,
1051 const tcu::IVec4 nonShadowBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - tcu::IVec4(colorErrorBits), tcu::IVec4(0));
1059 glu::TextureTestUtil::sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), effectiveView, texCoord, samplerParams);
1061 numFailedPixels = glu::TextureTestUtil::computeTextureCompareDiff(renderedFrame, reference.getAccess(), errorMask.getAccess(), effectiveView,
1070 numFailedPixels = glu::TextureTestUtil::computeTextureCompareDiff(renderedFrame, reference.getAccess(), errorMask.getAccess(), effectiveView,
1104 const glu::TextureTestUtil::ReferenceParams& samplerParams,
1167 const glu::TextureTestUtil::ReferenceParams& samplerParams,
1183 const tcu::BVec4 colorMask = glu::TextureTestUtil::getCompareMask(pixelFormat);
1255 glu::TextureTestUtil::ReferenceParams TextureBorderClampTest::genSamplerParams (const IterationConfig& config) const
1258 glu::TextureTestUtil::ReferenceParams refParams (glu::TextureTestUtil::TEXTURETYPE_2D);
1264 refParams.lodMode = glu::TextureTestUtil::LODMODE_EXACT;
1265 refParams.samplerType = (!m_useShadowSampler) ? (glu::TextureTestUtil::getSamplerType(texFormat)) : (glu::TextureTestUtil::SAMPLERTYPE_SHADOW);
2016 const glu::TextureTestUtil::ReferenceParams& samplerParams);
2018 void logParams (const glu::TextureTestUtil::ReferenceParams& samplerParams);
2021 const glu::TextureTestUtil::ReferenceParams& samplerParams);
2023 glu::TextureTestUtil::ReferenceParams getSamplerParams (void) const;
2041 de::MovePtr<gls::TextureTestUtil::TextureRenderer> m_renderer;
2096 m_renderer = de::MovePtr<gls::TextureTestUtil::TextureRenderer>(new gls::TextureTestUtil::TextureRenderer(m_context.getRenderContext(), m_testCtx.getLog(), glslVersion, glu::PRECISION_HIGHP));
2139 const glu::TextureTestUtil::ReferenceParams samplerParams = getSamplerParams();
2148 void TextureBorderClampPerAxisCase3D::logParams (const glu::TextureTestUtil::ReferenceParams& samplerParams)
2166 const glu::TextureTestUtil::ReferenceParams& samplerParams)
2169 const gls::TextureTestUtil::RandomViewport viewport (m_context.getRenderTarget(), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, getCaseSeed());
2210 const glu::TextureTestUtil::ReferenceParams& samplerParams)
2214 const tcu::IVec4 colorBits = tcu::max(glu::TextureTestUtil::getBitsVec(pixelFormat) - tcu::IVec4(colorErrorBits), tcu::IVec4(0));
2227 lookupPrecision.colorMask = glu::TextureTestUtil::getCompareMask(pixelFormat);
2229 glu::TextureTestUtil::sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), m_texture->getRefTexture(), &m_texCoords[0], samplerParams);
2231 numFailedPixels = glu::TextureTestUtil::computeTextureLookupDiff(renderedFrame.getAccess(), reference.getAccess(), errorMask.getAccess(), m_texture->getRefTexture(),
2251 glu::TextureTestUtil::ReferenceParams TextureBorderClampPerAxisCase3D::getSamplerParams (void) const
2254 glu::TextureTestUtil::ReferenceParams refParams (glu::TextureTestUtil::TEXTURETYPE_3D);
2258 refParams.lodMode = glu::TextureTestUtil::LODMODE_EXACT;
2259 refParams.samplerType = glu::TextureTestUtil::getSamplerType(texFormat);