/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktTextureMipmapTests.cpp | 283 ReferenceParams refParams (TEXTURETYPE_2D); in iterate() local 298 …refParams.sampler = util::createSampler(m_testParameters.wrapS, m_testParameters.wrapT, m_testPar… in iterate() 299 refParams.samplerType = getSamplerType(vk::mapVkFormat(m_testParameters.format)); in iterate() 300 …refParams.flags = (isProjected ? ReferenceParams::PROJECTED : 0) | (useLodBias ? ReferenceParams… in iterate() 301 refParams.lodMode = LODMODE_EXACT; // Use ideal lod. in iterate() 337 refParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate() 340 refParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate() 343 m_renderer.renderQuad(renderedFrame, 0, &texCoord[0], refParams); in iterate() 386 refParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate() 389 refParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate() [all …]
|
D | vktTextureFilteringAnisotropyTests.cpp | 82 FilteringAnisotropyInstance (Context& context, const AnisotropyParams& refParams) in FilteringAnisotropyInstance() argument 84 , m_refParams (refParams) in FilteringAnisotropyInstance() 172 const AnisotropyParams& refParams) in FilteringAnisotropyTests() argument 174 , m_refParams (refParams) in FilteringAnisotropyTests() 246 …AnisotropyParams refParams (TEXTURETYPE_2D, maxAnisotropy[anisotropyNdx] ,minFilters[minFilterNdx]… in createFilteringAnisotropyTests() local 249 "Texture filtering anisotropy basic tests", refParams)); in createFilteringAnisotropyTests() 269 …AnisotropyParams refParams (TEXTURETYPE_2D, maxAnisotropy[anisotropyNdx] ,minFilters[minFilterNdx]… in createFilteringAnisotropyTests() local 272 "Texture filtering anisotropy basic tests", refParams)); in createFilteringAnisotropyTests() 302 …AnisotropyParams refParams (TEXTURETYPE_2D, maxAnisotropy[anisotropyNdx] ,minFilters[minFilterNdx]… in createFilteringAnisotropyTests() local 305 "Texture filtering anisotropy basic tests", refParams)); in createFilteringAnisotropyTests()
|
D | vktTextureFilteringTests.cpp | 331 ReferenceParams refParams (TEXTURETYPE_2D); in iterate() local 337 …refParams.sampler = util::createSampler(m_testParameters.wrapS, m_testParameters.wrapT, m_testPar… in iterate() 340 refParams.sampler.depthStencilMode = tcu::Sampler::MODE_STENCIL; in iterate() 341 refParams.samplerType = SAMPLERTYPE_UINT; in iterate() 344 refParams.samplerType = getSamplerType(texFmt); in iterate() 345 refParams.colorBias = fmtInfo.lookupBias; in iterate() 346 refParams.colorScale = fmtInfo.lookupScale; in iterate() 347 refParams.unnormal = m_testParameters.unnormal; in iterate() 353 m_renderer.renderQuad(rendered, curCase.textureIndex, &texCoord[0], refParams); in iterate() 365 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureMipmapTests.cpp | 283 ReferenceParams refParams (TEXTURETYPE_2D); in iterate() local 298 …refParams.sampler = util::createSampler(m_testParameters.wrapS, m_testParameters.wrapT, m_testPar… in iterate() 299 refParams.samplerType = getSamplerType(vk::mapVkFormat(m_testParameters.format)); in iterate() 300 …refParams.flags = (isProjected ? ReferenceParams::PROJECTED : 0) | (useLodBias ? ReferenceParams… in iterate() 301 refParams.lodMode = LODMODE_EXACT; // Use ideal lod. in iterate() 337 refParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate() 340 refParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate() 343 m_renderer.renderQuad(renderedFrame, 0, &texCoord[0], refParams); in iterate() 386 refParams.w = s_projections[cellNdx % DE_LENGTH_OF_ARRAY(s_projections)]; in iterate() 389 refParams.bias = s_bias[cellNdx % DE_LENGTH_OF_ARRAY(s_bias)]; in iterate() [all …]
|
D | vktTextureFilteringAnisotropyTests.cpp | 82 FilteringAnisotropyInstance (Context& context, const AnisotropyParams& refParams) in FilteringAnisotropyInstance() argument 84 , m_refParams (refParams) in FilteringAnisotropyInstance() 172 const AnisotropyParams& refParams) in FilteringAnisotropyTests() argument 174 , m_refParams (refParams) in FilteringAnisotropyTests() 246 …AnisotropyParams refParams (TEXTURETYPE_2D, maxAnisotropy[anisotropyNdx] ,minFilters[minFilterNdx]… in createFilteringAnisotropyTests() local 249 "Texture filtering anisotropy basic tests", refParams)); in createFilteringAnisotropyTests() 269 …AnisotropyParams refParams (TEXTURETYPE_2D, maxAnisotropy[anisotropyNdx] ,minFilters[minFilterNdx]… in createFilteringAnisotropyTests() local 272 "Texture filtering anisotropy basic tests", refParams)); in createFilteringAnisotropyTests() 302 …AnisotropyParams refParams (TEXTURETYPE_2D, maxAnisotropy[anisotropyNdx] ,minFilters[minFilterNdx]… in createFilteringAnisotropyTests() local 305 "Texture filtering anisotropy basic tests", refParams)); in createFilteringAnisotropyTests()
|
D | vktTextureFilteringTests.cpp | 331 ReferenceParams refParams (TEXTURETYPE_2D); in iterate() local 337 …refParams.sampler = util::createSampler(m_testParameters.wrapS, m_testParameters.wrapT, m_testPar… in iterate() 340 refParams.sampler.depthStencilMode = tcu::Sampler::MODE_STENCIL; in iterate() 341 refParams.samplerType = SAMPLERTYPE_UINT; in iterate() 344 refParams.samplerType = getSamplerType(texFmt); in iterate() 345 refParams.colorBias = fmtInfo.lookupBias; in iterate() 346 refParams.colorScale = fmtInfo.lookupScale; in iterate() 347 refParams.unnormal = m_testParameters.unnormal; in iterate() 353 m_renderer.renderQuad(rendered, curCase.textureIndex, &texCoord[0], refParams); in iterate() 365 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTextureFilteringTests.cpp | 348 ReferenceParams refParams (TEXTURETYPE_CUBE_ARRAY); in iterate() local 354 …refParams.sampler = glu::mapGLSampler(GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE, m_minFilter, m_magFi… in iterate() 355 refParams.sampler.seamlessCubeMap = true; in iterate() 356 refParams.samplerType = getSamplerType(texFmt); in iterate() 357 refParams.colorBias = fmtInfo.lookupBias; in iterate() 358 refParams.colorScale = fmtInfo.lookupScale; in iterate() 359 refParams.lodMode = LODMODE_EXACT; in iterate() 385 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate() 401 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 407 &texCoord[0], refParams, lookupPrecision, coordBits, lodPrecision, pixelFormat); in iterate() [all …]
|
D | es31fTextureBorderClampTests.cpp | 1258 glu::TextureTestUtil::ReferenceParams refParams (glu::TextureTestUtil::TEXTURETYPE_2D); in genSamplerParams() local 1260 …refParams.sampler = glu::mapGLSampler(config.sWrapMode, config.tWrapMode, config.minFilter, co… in genSamplerParams() 1261 refParams.sampler.borderColor = config.borderColor; in genSamplerParams() 1262 …refParams.sampler.compare = (!m_useShadowSampler) ? (tcu::Sampler::COMPAREMODE_NONE) : (glu::map… in genSamplerParams() 1263 refParams.sampler.depthStencilMode = m_sampleMode; in genSamplerParams() 1264 refParams.lodMode = glu::TextureTestUtil::LODMODE_EXACT; in genSamplerParams() 1265 …refParams.samplerType = (!m_useShadowSampler) ? (glu::TextureTestUtil::getSamplerType(texFormat… in genSamplerParams() 1266 refParams.colorScale = config.lookupScale; in genSamplerParams() 1267 refParams.colorBias = config.lookupBias; in genSamplerParams() 1268 refParams.ref = config.compareRef; in genSamplerParams() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureWrapTests.cpp | 314 ReferenceParams refParams (TEXTURETYPE_2D); in iterate() local 334 refParams.sampler = mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate() 335 refParams.lodMode = LODMODE_EXACT; in iterate() 336 refParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in iterate() 337 refParams.colorScale = useDefaultColorScaleAndBias ? texFormatInfo.lookupScale : tcu::Vec4(1.0f); in iterate() 338 refParams.colorBias = useDefaultColorScaleAndBias ? texFormatInfo.lookupBias : tcu::Vec4(0.0f); in iterate() 342 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate() 356 …eshold = tcu::computeColorBitsThreshold(getBitsVec(pixelFormat), colorBits) / refParams.colorScale; in iterate() 364 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat); in iterate() 370 refParams.float16TexCoord = true; in iterate() [all …]
|
D | es3fTextureFilteringTests.cpp | 291 ReferenceParams refParams (TEXTURETYPE_2D); in iterate() local 299 refParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate() 300 refParams.samplerType = getSamplerType(texFmt); in iterate() 301 refParams.lodMode = LODMODE_EXACT; in iterate() 302 refParams.colorBias = fmtInfo.lookupBias; in iterate() 303 refParams.colorScale = fmtInfo.lookupScale; in iterate() 316 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate() 328 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 334 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat); in iterate() 345 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat); in iterate() [all …]
|
D | es3fTextureFormatTests.cpp | 1147 ReferenceParams refParams(TEXTURETYPE_2D); in iterate() local 1148 …refParams.sampler = Sampler(Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE… in iterate() 1149 …enderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], refParams); in iterate()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureWrapTests.cpp | 177 ReferenceParams refParams (TEXTURETYPE_2D); in iterate() local 207 refParams.sampler = mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate() 208 refParams.lodMode = LODMODE_EXACT; in iterate() 216 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate() 220 m_texture->getRefTexture(), &texCoord[0], refParams); in iterate() 229 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate() 233 m_texture->getRefTexture(), &texCoord[0], refParams); in iterate()
|
D | es2fTextureFilteringTests.cpp | 270 ReferenceParams refParams (TEXTURETYPE_2D); in iterate() local 278 refParams.sampler = mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate() 279 refParams.samplerType = getSamplerType(texFmt); in iterate() 280 refParams.lodMode = LODMODE_EXACT; in iterate() 281 refParams.colorBias = fmtInfo.lookupBias; in iterate() 282 refParams.colorScale = fmtInfo.lookupScale; in iterate() 295 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate() 307 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate() 313 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat); in iterate()
|
D | es2fTextureFormatTests.cpp | 481 ReferenceParams refParams(TEXTURETYPE_2D); in iterate() local 482 …refParams.sampler = Sampler(Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE, Sampler::CLAMP_TO_EDGE… in iterate() 483 …enderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], refParams); in iterate()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 114 const ReferenceParams& refParams, bool isNearestOnly) const; 195 const ReferenceParams& refParams, bool isNearestOnly) const in verifyTestResult() argument 206 lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in verifyTestResult() 211 …if (verifyTextureResult(m_testCtx, rendered.getAccess(), reference, texCoords, refParams, lookupPr… in verifyTestResult() 227 …if (verifyTextureResult(m_testCtx, rendered.getAccess(), reference, texCoords, refParams, lookupPr… in verifyTestResult() 607 ReferenceParams refParams(TEXTURETYPE_3D); in iterate() local 612 …refParams.sampler = glu::mapGLSampler(m_filteringData.wrapS, m_filteringData.wrapT, m_filteringDat… in iterate() 614 refParams.samplerType = getSamplerType(texFmt); in iterate() 615 refParams.lodMode = LODMODE_EXACT; in iterate() 616 refParams.colorBias = fmtInfo.lookupBias; in iterate() [all …]
|
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 205 ReferenceParams refParams (TEXTURETYPE_2D); in iterate() local 231 refParams.sampler = mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate() 232 refParams.samplerType = getSamplerType(texFmt); in iterate() 233 refParams.lodMode = LODMODE_EXACT; in iterate() 234 refParams.colorBias = fmtInfo.lookupBias; in iterate() 235 refParams.colorScale = fmtInfo.lookupScale; in iterate() 243 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate() 245 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); in iterate() 254 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate() 256 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); in iterate() [all …]
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 195 ReferenceParams refParams (TEXTURETYPE_2D); in iterate() local 221 refParams.sampler = glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter); in iterate() 222 refParams.samplerType = getSamplerType(texFmt); in iterate() 223 refParams.lodMode = LODMODE_EXACT; in iterate() 224 refParams.colorBias = fmtInfo.lookupBias; in iterate() 225 refParams.colorScale = fmtInfo.lookupScale; in iterate() 233 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate() 235 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); in iterate() 244 m_renderer.renderQuad(0, &texCoord[0], refParams); in iterate() 246 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); in iterate() [all …]
|