Home
last modified time | relevance | path

Searched refs:texFmt (Results 1 – 25 of 30) sorted by relevance

12

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fFboColorbufferTests.cpp117 …FboColorTex2DCase (Context& context, const char* name, const char* description, deUint32 texFmt, c… in FboColorTex2DCase() argument
118 : FboColorbufferCase (context, name, description, texFmt) in FboColorTex2DCase()
119 , m_texFmt (texFmt) in FboColorTex2DCase()
132 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_texFmt); in render() local
133 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in render()
135 …xToFboShader (DataTypes() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax… in render()
145 glu::TransferFormat transferFmt = glu::getTransferFormat(texFmt); in render()
190 readPixels(dst, 0, 0, getWidth(), getHeight(), texFmt, fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
202 …e (Context& context, const char* name, const char* description, deUint32 texFmt, const IVec3& texS… in FboColorTexCubeArrayCase() argument
203 : FboColorbufferCase (context, name, description, texFmt) in FboColorTexCubeArrayCase()
[all …]
Des31fTextureFilteringTests.cpp216 const tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_internalFormat); in init() local
217 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in init()
345 const tcu::TextureFormat texFmt = curCase.texture->getRefTexture().getFormat(); in iterate() local
346 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
356 refParams.samplerType = getSamplerType(texFmt); in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFboColorbufferTests.cpp328 … (Context& context, const char* name, const char* description, deUint32 texFmt, const IVec2& texS… in FboColorTexCubeCase() argument
329 : FboColorbufferCase (context, name, description, texFmt) in FboColorTexCubeCase()
363 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_format); in render() local
364 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in render()
366 …ToFboShader (DataTypes() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax… in render()
367 TextureCubeShader cubeTexShader (glu::getSamplerCubeType(texFmt), glu::TYPE_FLOAT_VEC4); in render()
381 glu::TransferFormat transferFmt = glu::getTransferFormat(texFmt); in render()
477 …e (Context& context, const char* name, const char* description, deUint32 texFmt, const IVec3& texS… in FboColorTex2DArrayCase() argument
478 : FboColorbufferCase (context, name, description, texFmt) in FboColorTex2DArrayCase()
492 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_format); in render() local
[all …]
Des3fTextureFilteringTests.cpp287 const tcu::TextureFormat texFmt = m_textures[0]->getRefTexture().getFormat(); in iterate() local
288 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
300 refParams.samplerType = getSamplerType(texFmt); in iterate()
589 const tcu::TextureFormat& texFmt = curCase.texture->getRefTexture().getFormat(); in iterate() local
590 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
609 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
761 const tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_internalFormat); in init() local
762 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in init()
856 const tcu::TextureFormat texFmt = curCase.texture->getRefTexture().getFormat(); in iterate() local
857 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
[all …]
Des3fFboStencilbufferTests.cpp263 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(format); in init() local
267 if (texFmt.order == tcu::TextureFormat::DS) in init()
Des3fFramebufferBlitTests.cpp1050 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(format); in init() local
1052 bool depth = texFmt.order == tcu::TextureFormat::D || texFmt.order == tcu::TextureFormat::DS; in init()
1053 …bool stencil = texFmt.order == tcu::TextureFormat::S || texFmt.order == tcu::TextureFormat::DS; in init()
1085 const tcu::TextureFormat texFmt = glu::mapGLInternalFormat(format); in init() local
1086 const tcu::TextureChannelClass fmtClass = tcu::getTextureChannelClass(texFmt.type); in init()
Des3fTextureMipmapTests.cpp1140 const tcu::TextureFormat& texFmt = glu::mapGLInternalFormat(m_internalFormat); in init() local
1141 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in init()
1247 const tcu::TextureFormat& texFmt = refTexture.getFormat(); in iterate() local
1248 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
1272 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
2083 const tcu::TextureFormat& texFmt = glu::mapGLInternalFormat(format); in init() local
2084 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in init()
2124 const tcu::TextureFormat& texFmt = refTexture.getFormat(); in iterate() local
2125 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
2144 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
Des3fFragmentOutputTests.cpp575 const tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_fboSpec[ndx].format); in iterate() local
576 const tcu::TextureChannelClass chnClass = tcu::getTextureChannelClass(texFmt.type); in iterate()
581 …ormat refFmt = isFixedPoint ? tcu::TextureFormat(texFmt.order, tcu::TextureFormat::FLOAT) : tex… in iterate()
582 const tcu::TextureFormat readFmt = getFramebufferReadFormat(texFmt); in iterate()
587 attachments[ndx].format = texFmt; in iterate()
Des3fTextureShadowTests.cpp487 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_format); in init() local
488 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in init()
779 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_format); in init() local
780 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in init()
/third_party/vk-gl-cts/modules/glshared/
DglsScissorTests.cpp579 tcu::TextureFormat texFmt; member
662 vector<deUint8> refData (width*height*bufferFmt.texFmt.getPixelSize()); in iterate()
663 vector<deUint8> resData (width*height*bufferFmt.texFmt.getPixelSize()); in iterate()
665 tcu::PixelBufferAccess refAccess (bufferFmt.texFmt, width, height, 1, &refData[0]); in iterate()
666 tcu::PixelBufferAccess resAccess (bufferFmt.texFmt, width, height, 1, &resData[0]); in iterate()
805 retval.texFmt = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::HALF_FLOAT); in getBufferFormat()
811 retval.texFmt = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32); in getBufferFormat()
816 retval.texFmt = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32); in getBufferFormat()
821 retval.texFmt = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in getBufferFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringTests.cpp301 const tcu::TextureFormat texFmt = texture.getTextureFormat(); in iterate() local
302 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
311 …if (texFmt.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_STENC… in iterate()
317 refParams.samplerType = getSamplerType(texFmt); in iterate()
536 const tcu::TextureFormat texFmt = texture.getTextureFormat(); in iterate() local
537 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
543 …if (texFmt.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_STENC… in iterate()
549 refParams.samplerType = getSamplerType(texFmt); in iterate()
749 const tcu::TextureFormat texFmt = texture.getTextureFormat(); in iterate() local
750 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
[all …]
DvktTextureMipmapTests.cpp674 const tcu::TextureFormat& texFmt = mapVkFormat(testParameters.format); in Texture3DMipmapTestInstance() local
675 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in Texture3DMipmapTestInstance()
770 const tcu::TextureFormat& texFmt = m_texture->getTextureFormat(); in iterate() local
771 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
792 refParams.samplerType = getSamplerType(texFmt); in iterate()
1507 const tcu::TextureFormat& texFmt = refTexture.getFormat(); in iterate() local
1508 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
1525 refParams.samplerType = getSamplerType(texFmt); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWorkgroupStorageTests.cpp181 const tcu::TextureFormat texFmt = mapVkFormat(vk::VK_FORMAT_R8G8B8A8_UNORM); in createTestTexture2D() local
182 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in createTestTexture2D()
183 …de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, m_params.imageWidth, m_params.i… in createTestTexture2D()
DvktProtectedMemStackTests.cpp213 const tcu::TextureFormat texFmt = mapVkFormat(vk::VK_FORMAT_R8G8B8A8_UNORM); in createTestTexture2D() local
214 …de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, m_params.imageWidth, m_params.i… in createTestTexture2D()
DvktProtectedMemShaderImageAccessTests.cpp462 const tcu::TextureFormat texFmt = mapVkFormat(m_params.imageFormat); in createTestTexture2D() local
463 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in createTestTexture2D()
464 de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, IMAGE_WIDTH, IMAGE_HEIGHT)); in createTestTexture2D()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp193 const tcu::TextureFormat& texFmt = m_textures[0]->getRefTexture().getFormat(); in iterate() local
194 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
222 refParams.samplerType = getSamplerType(texFmt); in iterate()
537 const tcu::TextureFormat& texFmt = m_textures[0]->getRefTexture().getFormat(); in iterate() local
538 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
555 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
Des3aTextureMipmapTests.cpp246 const tcu::TextureFormat& texFmt = refTexture.getFormat(); in iterate() local
247 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp203 const tcu::TextureFormat& texFmt = m_textures[0]->getRefTexture().getFormat(); in iterate() local
204 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
232 refParams.samplerType = getSamplerType(texFmt); in iterate()
528 const tcu::TextureFormat& texFmt = m_textures[0]->getRefTexture().getFormat(); in iterate() local
529 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
546 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
Des2aTextureMipmapTests.cpp255 const tcu::TextureFormat& texFmt = refTexture.getFormat(); in iterate() local
256 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderTextureFunctionTests.cpp323 …tcu::TextureFormat texFmt = glu::mapGLTransferFormat(m_textureSpec.format, m_textureSpec.dataTy… in initTexture() local
324 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in initTexture()
428 …tcu::TextureFormat texFmt = glu::mapGLTransferFormat(m_textureSpec.format, m_textureSpec.dataTy… in initShaderSources() local
435 case TEXTURETYPE_2D: samplerType = glu::getSampler2DType(texFmt); break; in initShaderSources()
436 case TEXTURETYPE_CUBE_MAP: samplerType = glu::getSamplerCubeType(texFmt); break; in initShaderSources()
Des2fTextureFilteringTests.cpp266 const tcu::TextureFormat texFmt = m_textures[0]->getRefTexture().getFormat(); in iterate() local
267 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
279 refParams.samplerType = getSamplerType(texFmt); in iterate()
539 const tcu::TextureFormat& texFmt = curCase.texture->getRefTexture().getFormat(); in iterate() local
540 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
559 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pTextureUploadTests.cpp217 const tcu::TextureFormat& texFmt = glu::mapGLTransferFormat(m_format, m_type); in init() local
218 int pixelSize = texFmt.getPixelSize(); in init()
223 tcu::PixelBufferAccess access (texFmt, m_texSize, m_texSize, 1, stride, 0, &m_texData[0]); in init()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcNearestEdgeTests.cpp132 tcu::TextureFormat texFmt; in toTextureFormat() member
161 return pixelFormatMap[ndx].texFmt; in toTextureFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp869 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_textureSpec.format); in initTexture() local
870 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in initTexture()
888 …texture2D = de::MovePtr<tcu::Texture2D>(new tcu::Texture2D(texFmt, m_textureSpec.width, m_textureS… in initTexture()
921 textureCube = de::MovePtr<tcu::TextureCube>(new tcu::TextureCube(texFmt, m_textureSpec.width)); in initTexture()
979 …texture2DArray = de::MovePtr<tcu::Texture2DArray>(new tcu::Texture2DArray(texFmt, m_textureSpec.wi… in initTexture()
1015 …texture3D = de::MovePtr<tcu::Texture3D>(new tcu::Texture3D(texFmt, m_textureSpec.width, m_textureS… in initTexture()
1048 texture1D = de::MovePtr<tcu::Texture1D>(new tcu::Texture1D(texFmt, m_textureSpec.width)); in initTexture()
1079 …texture1DArray = de::MovePtr<tcu::Texture1DArray>(new tcu::Texture1DArray(texFmt, m_textureSpec.wi… in initTexture()
1119 …textureCubeArray = de::MovePtr<tcu::TextureCubeArray>(new tcu::TextureCubeArray(texFmt, m_textureS… in initTexture()
1262 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_textureSpec.format); in initShaderSources() local
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gles2/
Des2cTexture3DTests.cpp537 const tcu::TextureFormat texFmt = glu::mapGLInternalFormat(internalFormat); in init() local
538 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in init()
602 const tcu::TextureFormat texFmt = curCase.texture->getRefTexture().getFormat(); in iterate() local
603 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
614 refParams.samplerType = getSamplerType(texFmt); in iterate()

12