Home
last modified time | relevance | path

Searched refs:fmtInfo (Results 1 – 25 of 34) sorted by relevance

12

/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcConfigListWGL.cpp53 …const tcu::wgl::PixelFormatInfo fmtInfo = wgl.getPixelFormatInfo(tmpWindow.getDeviceContext(), pi… in getDefaultWglConfigList() local
55 if (!tcu::wgl::isSupportedByTests(fmtInfo)) in getDefaultWglConfigList()
58 …bool isAOSPOk = (fmtInfo.surfaceTypes & tcu::wgl::PixelFormatInfo::SURFACE_WINDOW) && fmtInfo.supp… in getDefaultWglConfigList()
59 fmtInfo.pixelType == tcu::wgl::PixelFormatInfo::PIXELTYPE_RGBA; in getDefaultWglConfigList()
60 bool isOk = isAOSPOk && (fmtInfo.sampleBuffers == 0); in getDefaultWglConfigList()
63 (fmtInfo.redBits > 8 || fmtInfo.greenBits > 8 || fmtInfo.blueBits > 8 || fmtInfo.alphaBits > 8)) in getDefaultWglConfigList()
70 if (isOk && (type.getProfile() == glu::PROFILE_ES) && fmtInfo.sRGB) in getDefaultWglConfigList()
80 …CONFIGTYPE_WGL, pixelFormat, SURFACETYPE_WINDOW, fmtInfo.redBits, fmtInfo.greenBits, fmtInfo.blueB… in getDefaultWglConfigList()
81 fmtInfo.alphaBits, fmtInfo.depthBits, fmtInfo.stencilBits, fmtInfo.samples)); in getDefaultWglConfigList()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFboColorbufferTests.cpp120 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(fboFormat); in render() local
169 Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax); in render()
195 readPixels(dst, 0, 0, m_width, m_height, fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
364 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in render() local
366 …< glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin, fmtInfo.… in render()
374 cubeTexShader.setTexScaleBias(fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
493 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in render() local
495 …< glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin, fmtInfo.… in render()
503 arrayTexShader.setTexScaleBias(fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
619 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in render() local
[all …]
Des3fTextureFilteringTests.cpp197 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().g… in init() local
198 const tcu::Vec4 cBias = fmtInfo.valueMin; in init()
199 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
288 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
302 refParams.colorBias = fmtInfo.lookupBias; in iterate()
303 refParams.colorScale = fmtInfo.lookupScale; in iterate()
477 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getForm… in init() local
478 tcu::Vec4 cBias = fmtInfo.valueMin; in init()
479 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
590 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
[all …]
Des3fVertexTextureTests.cpp592 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().g… in init() local
593 const Vec4 cBias = fmtInfo.valueMin; in init()
594 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
901 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().g… in init() local
902 const Vec4 cBias = fmtInfo.valueMin; in init()
903 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
1238 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().g… in init() local
1239 const Vec4 cBias = fmtInfo.valueMin; in init()
1240 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
1578 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().g… in init() local
[all …]
Des3fTextureShadowTests.cpp488 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in init() local
489 tcu::Vec4 cBias = fmtInfo.valueMin; in init()
490 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
780 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in init() local
781 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
782 tcu::Vec4 cBias = fmtInfo.valueMin; in init()
Des3fTextureUnitTests.cpp880 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); in init() local
881 Vec4 cBias = fmtInfo.valueMin; in init()
882 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
952 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(fmt); in init() local
959 texScales.push_back(fmtInfo.lookupScale); in init()
960 texBiases.push_back(fmtInfo.lookupBias); in init()
Des3fTextureMipmapTests.cpp1141 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in init() local
1142 const tcu::Vec4& cScale = fmtInfo.lookupScale; in init()
1143 const tcu::Vec4& cBias = fmtInfo.lookupBias; in init()
1248 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
1273 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
1274 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
2084 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in init() local
2085 const tcu::Vec4& cScale = fmtInfo.lookupScale; in init()
2086 const tcu::Vec4& cBias = fmtInfo.lookupBias; in init()
2125 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
[all …]
Des3fShaderTextureFunctionTests.cpp568 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in initTexture() local
580 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture()
581 Vec4 cBias = fmtInfo.valueMin; in initTexture()
610 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture()
611 Vec4 cBias = fmtInfo.valueMin; in initTexture()
669 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture()
670 Vec4 cBias = fmtInfo.valueMin; in initTexture()
704 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture()
705 Vec4 cBias = fmtInfo.valueMin; in initTexture()
738 m_lookupParams.scale = fmtInfo.lookupScale; in initTexture()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fFboColorbufferTests.cpp133 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in render() local
135 …< glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin, fmtInfo.… in render()
190 readPixels(dst, 0, 0, getWidth(), getHeight(), texFmt, fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
226 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in render() local
228 …< glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin, fmtInfo.… in render()
236 arrayTexShader.setTexScaleBias(fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
Des31fTextureFilteringTests.cpp217 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in init() local
218 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
219 const tcu::Vec4 cBias = fmtInfo.valueMin; in init()
346 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
357 refParams.colorBias = fmtInfo.lookupBias; in iterate()
358 refParams.colorScale = fmtInfo.lookupScale; in iterate()
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp146 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getForm… in init() local
147 tcu::Vec4 cBias = fmtInfo.valueMin; in init()
148 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
204 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
234 refParams.colorBias = fmtInfo.lookupBias; in iterate()
235 refParams.colorScale = fmtInfo.lookupScale; in iterate()
407 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getForm… in init() local
408 tcu::Vec4 cBias = fmtInfo.valueMin; in init()
409 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
529 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
[all …]
Des2aTextureMipmapTests.cpp256 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
287 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
288 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp136 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getForm… in init() local
137 tcu::Vec4 cBias = fmtInfo.valueMin; in init()
138 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
194 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
224 refParams.colorBias = fmtInfo.lookupBias; in iterate()
225 refParams.colorScale = fmtInfo.lookupScale; in iterate()
393 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getForm… in init() local
394 tcu::Vec4 cBias = fmtInfo.valueMin; in init()
395 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
538 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
[all …]
Des3aTextureMipmapTests.cpp247 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
279 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
280 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureFilteringTests.cpp176 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getForm… in init() local
177 tcu::Vec4 cBias = fmtInfo.valueMin; in init()
178 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
267 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
281 refParams.colorBias = fmtInfo.lookupBias; in iterate()
282 refParams.colorScale = fmtInfo.lookupScale; in iterate()
439 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getForm… in init() local
440 tcu::Vec4 cBias = fmtInfo.valueMin; in init()
441 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
540 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
[all …]
Des2fShaderTextureFunctionTests.cpp324 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in initTexture() local
334 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture()
335 Vec4 cBias = fmtInfo.valueMin; in initTexture()
364 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture()
365 Vec4 cBias = fmtInfo.valueMin; in initTexture()
411 m_lookupParams.scale = fmtInfo.lookupScale; in initTexture()
412 m_lookupParams.bias = fmtInfo.lookupBias; in initTexture()
Des2fVertexTextureTests.cpp492 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().g… in init() local
493 const Vec4 cBias = fmtInfo.valueMin; in init()
494 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
803 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().g… in init() local
804 const Vec4 cBias = fmtInfo.valueMin; in init()
805 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
Des2fTextureUnitTests.cpp686 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(is2d ? m_textures2d.back()->getFormat(… in init() local
687 Vec4 cBias = fmtInfo.valueMin; in init()
688 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_shadow_lod/
DesextcTextureShadowLodFunctionsTest.cpp476 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in initTexture() local
486 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture()
487 Vec4 cBias = fmtInfo.valueMin; in initTexture()
521 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture()
522 Vec4 cBias = fmtInfo.valueMin; in initTexture()
561 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture()
562 Vec4 cBias = fmtInfo.valueMin; in initTexture()
626 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture()
627 Vec4 cBias = fmtInfo.valueMin; in initTexture()
706 m_lookupParams.scale = fmtInfo.lookupScale; in initTexture()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringTests.cpp206 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); in Texture2DFilteringTestInstance() local
217 cBias = fmtInfo.valueMin; in Texture2DFilteringTestInstance()
218 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in Texture2DFilteringTestInstance()
302 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
318 refParams.colorBias = fmtInfo.lookupBias; in iterate()
319 refParams.colorScale = fmtInfo.lookupScale; in iterate()
422 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); in TextureCubeFilteringTestInstance() local
433 cBias = fmtInfo.valueMin; in TextureCubeFilteringTestInstance()
434 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in TextureCubeFilteringTestInstance()
537 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
[all …]
DvktTextureShadowTests.cpp352 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
365 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
366 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
478 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(vk::mapVkFormat(m_testParameters… in TextureCubeShadowTestInstance() local
479 const tcu::Vec4 cBias = fmtInfo.valueMin; in TextureCubeShadowTestInstance()
480 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in TextureCubeShadowTestInstance()
704 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(vk::mapVkFormat(m_testParameters… in Texture2DArrayShadowTestInstance() local
705 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in Texture2DArrayShadowTestInstance()
706 const tcu::Vec4 cBias = fmtInfo.valueMin; in Texture2DArrayShadowTestInstance()
1007 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
[all …]
DvktTextureMipmapTests.cpp675 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in Texture3DMipmapTestInstance() local
676 const tcu::Vec4& cScale = fmtInfo.lookupScale; in Texture3DMipmapTestInstance()
677 const tcu::Vec4& cBias = fmtInfo.lookupBias; in Texture3DMipmapTestInstance()
771 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
794 refParams.colorBias = fmtInfo.lookupBias; in iterate()
795 refParams.colorScale = fmtInfo.lookupScale; in iterate()
1473 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(mapVkFormat(format)); in Texture3DLodControlTestInstance() local
1474 const tcu::Vec4& cScale = fmtInfo.lookupScale; in Texture3DLodControlTestInstance()
1475 const tcu::Vec4& cBias = fmtInfo.lookupBias; in Texture3DLodControlTestInstance()
1508 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() local
[all …]
DvktTextureFilteringExplicitLodTests.cpp1115 const TextureFormatInfo fmtInfo = getTextureFormatInfo(m_testCase->m_format); in generate() local
1117 const Vec4 cBias = fmtInfo.valueMin; in generate()
1118 const Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in generate()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pTextureCases.cpp96 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFormat); in init() local
203 fmtInfo.valueMin.swizzle(sw[0], sw[1], sw[2], sw[3]), in init()
204 fmtInfo.valueMax.swizzle(sw[0], sw[1], sw[2], sw[3])); in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWorkgroupStorageTests.cpp182 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in createTestTexture2D() local
189 fillWithRandomColorTiles(level, fmtInfo.valueMin, fmtInfo.valueMax, getSeedValue(m_params)); in createTestTexture2D()

12