Lines Matching refs:samplerParams
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,
717 const glu::TextureTestUtil::ReferenceParams samplerParams = genSamplerParams(iterationConfig); in iterate() local
719 logParams(iterationConfig, samplerParams); in iterate()
720 renderTo(renderedFrame, iterationConfig, samplerParams); in iterate()
721 verifyImage(renderedFrame, iterationConfig, samplerParams); in iterate()
731 …gParams (const IterationConfig& config, const glu::TextureTestUtil::ReferenceParams& samplerParams) in logParams() argument
740 << "Texture lookup bias: " << samplerParams.colorBias << "\n" in logParams()
741 << "Texture lookup scale: " << samplerParams.colorScale << "\n" in logParams()
742 …<< "Filters: min = " << glu::getTextureFilterName(glu::getGLFilterMode(samplerParams.sampler.minFi… in logParams()
743 …<< ", mag = " << glu::getTextureFilterName(glu::getGLFilterMode(samplerParams.sampler.magFilter)) … in logParams()
764 const glu::TextureTestUtil::ReferenceParams& samplerParams) in renderTo() argument
796 …gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, glu::getGLWrapMode(samplerParams.sampler.wrapS… in renderTo()
797 …gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, glu::getGLWrapMode(samplerParams.sampler.wrapT… in renderTo()
798 …gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, glu::getGLFilterMode(samplerParams.sampler.… in renderTo()
799 …gl.texParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, glu::getGLFilterMode(samplerParams.sampler.… in renderTo()
835 …gl.samplerParameteri(**sampler, GL_TEXTURE_WRAP_S, glu::getGLWrapMode(samplerParams.sampler.wrapS… in renderTo()
836 …gl.samplerParameteri(**sampler, GL_TEXTURE_WRAP_T, glu::getGLWrapMode(samplerParams.sampler.wrapT… in renderTo()
837 …gl.samplerParameteri(**sampler, GL_TEXTURE_MIN_FILTER, glu::getGLFilterMode(samplerParams.sampler.… in renderTo()
838 …gl.samplerParameteri(**sampler, GL_TEXTURE_MAG_FILTER, glu::getGLFilterMode(samplerParams.sampler.… in renderTo()
866 renderQuad(&texCoord[0], samplerParams); in renderTo()
870 …est::renderQuad (const float* texCoord, const glu::TextureTestUtil::ReferenceParams& samplerParams) in renderQuad() argument
874 m_renderer->renderQuad(0, texCoord, samplerParams); in renderQuad()
900 gl.uniform1f(gl.getUniformLocation(progId, "u_ref"), samplerParams.ref); in renderQuad()
901 …gl.uniform4fv(gl.getUniformLocation(progId, "u_colorScale"), 1, samplerParams.colorScale.getPtr()); in renderQuad()
902 gl.uniform4fv(gl.getUniformLocation(progId, "u_colorBias"), 1, samplerParams.colorBias.getPtr()); in renderQuad()
911 const glu::TextureTestUtil::ReferenceParams& samplerParams) in verifyImage() argument
924 if (samplerParams.sampler.compare == tcu::Sampler::COMPAREMODE_NONE) in verifyImage()
927 …const bool isNearestMinFilter = samplerParams.sampler.minFilter == tcu::Sampler::NEAREST || s… in verifyImage()
928 const bool isNearestMagFilter = samplerParams.sampler.magFilter == tcu::Sampler::NEAREST; in verifyImage()
935 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / samplerParams.colorS… in verifyImage()
944 samplerParams, in verifyImage()
952 samplerParams, in verifyImage()
985 samplerParams, in verifyImage()
995 samplerParams, in verifyImage()
1012 const glu::TextureTestUtil::ReferenceParams& samplerParams, in verifyTextureSampleResult() argument
1021 …e(tcu::SurfaceAccess(reference, pixelFormat), m_texture->getRefTexture(), texCoord, samplerParams); in verifyTextureSampleResult()
1024 texCoord, samplerParams, lookupPrecision, lodPrecision, m_testCtx.getWatchDog()); in verifyTextureSampleResult()
1042 const glu::TextureTestUtil::ReferenceParams& samplerParams, in verifyTextureCompareResult() argument
1053 …= tcu::getEffectiveTextureView(m_texture->getRefTexture(), srcLevelStorage, samplerParams.sampler); in verifyTextureCompareResult()
1058 …:sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), effectiveView, texCoord, samplerParams); in verifyTextureCompareResult()
1061 texCoord, samplerParams, texComparePrecision, lodPrecision, nonShadowThreshold); in verifyTextureCompareResult()
1070 …texCoord, samplerParams, lowQualityTexComparePrecision, lowQualityLodPrecision, nonShadowThreshold… in verifyTextureCompareResult()
1103 const glu::TextureTestUtil::ReferenceParams& samplerParams, in verifyTextureGatherResult() argument
1118 …= tcu::getEffectiveTextureView(m_texture->getRefTexture(), srcLevelStorage, samplerParams.sampler); in verifyTextureGatherResult()
1131 …const tcu::Vec4 referenceValue = effectiveView.gatherOffsets(samplerParams.sampler, texCoord.x()… in verifyTextureGatherResult()
1132 …const tcu::Vec4 referencePixel = referenceValue * samplerParams.colorScale + samplerParams.color… in verifyTextureGatherResult()
1134 …const tcu::Vec4 resultValue = (resultPixel - samplerParams.colorBias) / samplerParams.colorScal… in verifyTextureGatherResult()
1142 …if (!tcu::isGatherOffsetsResultValid(effectiveView, samplerParams.sampler, lookupPrecision, texCoo… in verifyTextureGatherResult()
1166 const glu::TextureTestUtil::ReferenceParams& samplerParams, in verifyTextureGatherCmpResult() argument
1179 …= tcu::getEffectiveTextureView(m_texture->getRefTexture(), srcLevelStorage, samplerParams.sampler); in verifyTextureGatherCmpResult()
1196 const float refZ = samplerParams.ref; in verifyTextureGatherCmpResult()
1197 …const tcu::Vec4 referenceValue = effectiveView.gatherOffsetsCompare(samplerParams.sampler, refZ,… in verifyTextureGatherCmpResult()
1204 …if (!tcu::isGatherOffsetsCompareResultValid(effectiveView, samplerParams.sampler, texComparePrecis… in verifyTextureGatherCmpResult()
1209 …if (!tcu::isGatherOffsetsCompareResultValid(effectiveView, samplerParams.sampler, lowQualityTexCom… in verifyTextureGatherCmpResult()
2015 const glu::TextureTestUtil::ReferenceParams& samplerParams);
2017 void logParams (const glu::TextureTestUtil::ReferenceParams& samplerParams);
2020 const glu::TextureTestUtil::ReferenceParams& samplerParams);
2136 const glu::TextureTestUtil::ReferenceParams samplerParams = getSamplerParams(); in iterate() local
2138 logParams(samplerParams); in iterate()
2139 renderTo(renderedFrame, samplerParams); in iterate()
2140 verifyImage(renderedFrame, samplerParams); in iterate()
2145 …ureBorderClampPerAxisCase3D::logParams (const glu::TextureTestUtil::ReferenceParams& samplerParams) in logParams() argument
2153 << "Texture lookup bias: " << samplerParams.colorBias << "\n" in logParams()
2154 << "Texture lookup scale: " << samplerParams.colorScale << "\n" in logParams()
2163 const glu::TextureTestUtil::ReferenceParams& samplerParams) in renderTo() argument
2173 …gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, glu::getGLWrapMode(samplerParams.sampler.wrapS… in renderTo()
2174 …gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, glu::getGLWrapMode(samplerParams.sampler.wrapT… in renderTo()
2175 …gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, glu::getGLWrapMode(samplerParams.sampler.wrapR… in renderTo()
2176 …gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, glu::getGLFilterMode(samplerParams.sampler.… in renderTo()
2177 …gl.texParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, glu::getGLFilterMode(samplerParams.sampler.… in renderTo()
2202 m_renderer->renderQuad(0, &m_texCoords[0], samplerParams); in renderTo()
2207 const glu::TextureTestUtil::ReferenceParams& samplerParams) in verifyImage() argument
2221 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / samplerParams.colorS… in verifyImage()
2226 …SurfaceAccess(reference, pixelFormat), m_texture->getRefTexture(), &m_texCoords[0], samplerParams); in verifyImage()
2229 … &m_texCoords[0], samplerParams, lookupPrecision, lodPrecision, m_testCtx.getWatchDog()); in verifyImage()