/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fFboColorbufferTests.cpp | 117 FboColorTex2DCase (Context& context, const char* name, const char* description, deUint32 texFmt, const IVec2& texSize) 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 Texture2DShader texToFboShader (DataTypes() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin, fmtInfo.valueMin); 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 FboColorTexCubeArrayCase (Context& context, const char* name, const char* description, deUint32 texFmt, const IVec3& texSize) in FboColorTexCubeArrayCase() argument 203 : FboColorbufferCase (context, name, description, texFmt) in FboColorTexCubeArrayCase() 225 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_format); render() local [all...] |
H A D | es31fTextureFilteringTests.cpp | 216 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/ |
H A D | es3fFboColorbufferTests.cpp | 328 FboColorTexCubeCase (Context& context, const char* name, const char* description, deUint32 texFmt, const IVec2& texSize) 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 Texture2DShader texToFboShader (DataTypes() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin, fmtInfo.valueMin); in render() 367 TextureCubeShader cubeTexShader (glu::getSamplerCubeType(texFmt), glu::TYPE_FLOAT_VEC4); in render() 381 glu::TransferFormat transferFmt = glu::getTransferFormat(texFmt); in render() 477 FboColorTex2DArrayCase (Context& context, const char* name, const char* description, deUint32 texFmt, const IVec3& texSize) in FboColorTex2DArrayCase() argument 478 : FboColorbufferCase (context, name, description, texFmt) in FboColorTex2DArrayCase() 492 tcu::TextureFormat texFmt in render() local 603 FboColorTex3DCase(Context& context, const char* name, const char* description, deUint32 texFmt, const IVec3& texSize) FboColorTex3DCase() argument 618 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_format); render() local 1137 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(format); init() local [all...] |
H A D | es3fTextureFilteringTests.cpp | 287 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() 1028 const tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_internalFormat); init() local 1098 const tcu::TextureFormat texFmt = curCase.texture->getRefTexture().getFormat(); iterate() local [all...] |
H A D | es3fFboStencilbufferTests.cpp | 263 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(format); in init() local 267 if (texFmt.order == tcu::TextureFormat::DS) in init()
|
H A D | es3fFragmentOutputTests.cpp | 575 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 const tcu::TextureFormat refFmt = isFixedPoint ? tcu::TextureFormat(texFmt.order, tcu::TextureFormat::FLOAT) : texFmt; in iterate() 582 const tcu::TextureFormat readFmt = getFramebufferReadFormat(texFmt); in iterate() 587 attachments[ndx].format = texFmt; in iterate()
|
H A D | es3fTextureMipmapTests.cpp | 1140 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() [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsScissorTests.cpp | 579 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/ |
H A D | vktTextureFilteringTests.cpp | 329 const tcu::TextureFormat texFmt = texture.getTextureFormat(); in iterate() local 330 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() 339 if (texFmt.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) in iterate() 345 refParams.samplerType = getSamplerType(texFmt); in iterate() 564 const tcu::TextureFormat texFmt = texture.getTextureFormat(); in iterate() local 565 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() 571 if (texFmt.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) in iterate() 577 refParams.samplerType = getSamplerType(texFmt); in iterate() 782 const tcu::TextureFormat texFmt = texture.getTextureFormat(); in iterate() local 783 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() 991 const tcu::TextureFormat texFmt = texture.getTextureFormat(); iterate() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureFilteringTests.cpp | 328 const tcu::TextureFormat texFmt = texture.getTextureFormat(); in iterate() local 329 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() 338 if (texFmt.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) in iterate() 344 refParams.samplerType = getSamplerType(texFmt); in iterate() 563 const tcu::TextureFormat texFmt = texture.getTextureFormat(); in iterate() local 564 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() 570 if (texFmt.order == tcu::TextureFormat::DS && m_testParameters.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT) in iterate() 576 refParams.samplerType = getSamplerType(texFmt); in iterate() 781 const tcu::TextureFormat texFmt = texture.getTextureFormat(); in iterate() local 782 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate() 990 const tcu::TextureFormat texFmt = texture.getTextureFormat(); iterate() local [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fShaderTextureFunctionTests.cpp | 323 tcu::TextureFormat texFmt = glu::mapGLTransferFormat(m_textureSpec.format, m_textureSpec.dataType); in initTexture() local 324 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in initTexture() 428 tcu::TextureFormat texFmt = glu::mapGLTransferFormat(m_textureSpec.format, m_textureSpec.dataType); 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()
|
H A D | es2fTextureFilteringTests.cpp | 266 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/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemWorkgroupStorageTests.cpp | 180 const tcu::TextureFormat texFmt = mapVkFormat(vk::VK_FORMAT_R8G8B8A8_UNORM); in createTestTexture2D() local 181 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in createTestTexture2D() 182 de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, m_params.imageWidth, m_params.imageHeight)); in createTestTexture2D()
|
H A D | vktProtectedMemStackTests.cpp | 212 const tcu::TextureFormat texFmt = mapVkFormat(vk::VK_FORMAT_R8G8B8A8_UNORM); in createTestTexture2D() local 213 de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, m_params.imageWidth, m_params.imageHeight)); in createTestTexture2D()
|
H A D | vktProtectedMemShaderImageAccessTests.cpp | 482 const tcu::TextureFormat texFmt = mapVkFormat(m_params.imageFormat); in createTestTexture2D() local 483 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in createTestTexture2D() 484 de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, IMAGE_WIDTH, IMAGE_HEIGHT)); in createTestTexture2D()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/ |
H A D | vktProtectedMemWorkgroupStorageTests.cpp | 181 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.imageHeight)); in createTestTexture2D()
|
H A D | vktProtectedMemStackTests.cpp | 213 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.imageHeight)); in createTestTexture2D()
|
H A D | vktProtectedMemShaderImageAccessTests.cpp | 479 const tcu::TextureFormat texFmt = mapVkFormat(m_params.imageFormat); in createTestTexture2D() local 480 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in createTestTexture2D() 481 de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, IMAGE_WIDTH, IMAGE_HEIGHT)); in createTestTexture2D()
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pTextureUploadTests.cpp | 217 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/modules/gles2/accuracy/ |
H A D | es2aTextureFilteringTests.cpp | 203 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()
|
H A D | es2aTextureMipmapTests.cpp | 255 const tcu::TextureFormat& texFmt = refTexture.getFormat(); in iterate() local 256 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in iterate()
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
H A D | es3aTextureFilteringTests.cpp | 193 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()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcNearestEdgeTests.cpp | 132 tcu::TextureFormat texFmt; in toTextureFormat() member 161 return pixelFormatMap[ndx].texFmt; in toTextureFormat()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureFunctionTests.cpp | 878 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_textureSpec.format); in initTexture() local 879 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in initTexture() 897 texture2D = de::MovePtr<tcu::Texture2D>(new tcu::Texture2D(texFmt, m_textureSpec.width, m_textureSpec.height)); in initTexture() 930 textureCube = de::MovePtr<tcu::TextureCube>(new tcu::TextureCube(texFmt, m_textureSpec.width)); in initTexture() 988 texture2DArray = de::MovePtr<tcu::Texture2DArray>(new tcu::Texture2DArray(texFmt, m_textureSpec.width, m_textureSpec.height, m_textureSpec.depth)); in initTexture() 1024 texture3D = de::MovePtr<tcu::Texture3D>(new tcu::Texture3D(texFmt, m_textureSpec.width, m_textureSpec.height, m_textureSpec.depth)); in initTexture() 1057 texture1D = de::MovePtr<tcu::Texture1D>(new tcu::Texture1D(texFmt, m_textureSpec.width)); in initTexture() 1088 texture1DArray = de::MovePtr<tcu::Texture1DArray>(new tcu::Texture1DArray(texFmt, m_textureSpec.width, m_textureSpec.depth)); in initTexture() 1128 textureCubeArray = de::MovePtr<tcu::TextureCubeArray>(new tcu::TextureCubeArray(texFmt, m_textureSpec.width, m_textureSpec.depth)); in initTexture() 1269 tcu::TextureFormat texFmt in initShaderSources() local 1637 const tcu::TextureFormat texFmt = glu::mapGLInternalFormat(format); createEmptyTexture() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureFunctionTests.cpp | 875 tcu::TextureFormat texFmt = glu::mapGLInternalFormat(m_textureSpec.format); in initTexture() local 876 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(texFmt); in initTexture() 894 texture2D = de::MovePtr<tcu::Texture2D>(new tcu::Texture2D(texFmt, m_textureSpec.width, m_textureSpec.height)); in initTexture() 927 textureCube = de::MovePtr<tcu::TextureCube>(new tcu::TextureCube(texFmt, m_textureSpec.width)); in initTexture() 985 texture2DArray = de::MovePtr<tcu::Texture2DArray>(new tcu::Texture2DArray(texFmt, m_textureSpec.width, m_textureSpec.height, m_textureSpec.depth)); in initTexture() 1021 texture3D = de::MovePtr<tcu::Texture3D>(new tcu::Texture3D(texFmt, m_textureSpec.width, m_textureSpec.height, m_textureSpec.depth)); in initTexture() 1054 texture1D = de::MovePtr<tcu::Texture1D>(new tcu::Texture1D(texFmt, m_textureSpec.width)); in initTexture() 1085 texture1DArray = de::MovePtr<tcu::Texture1DArray>(new tcu::Texture1DArray(texFmt, m_textureSpec.width, m_textureSpec.depth)); in initTexture() 1125 textureCubeArray = de::MovePtr<tcu::TextureCubeArray>(new tcu::TextureCubeArray(texFmt, m_textureSpec.width, m_textureSpec.depth)); in initTexture() 1268 tcu::TextureFormat texFmt in initShaderSources() local 1636 const tcu::TextureFormat texFmt = glu::mapGLInternalFormat(format); createEmptyTexture() local [all...] |