/external/deqp/modules/gles31/functional/ |
es31fNegativeShaderImageLoadStoreTests.cpp | 85 std::string getShaderImageLayoutQualifier (const tcu::TextureFormat& format) 91 case tcu::TextureFormat::RGBA: qualifier << "rgba"; break; 92 case tcu::TextureFormat::R: qualifier << "r"; break; 100 case tcu::TextureFormat::FLOAT: qualifier << "32f"; break; 101 case tcu::TextureFormat::HALF_FLOAT: qualifier << "16f"; break; 102 case tcu::TextureFormat::UNORM_INT8: qualifier << "8"; break; 103 case tcu::TextureFormat::SNORM_INT8: qualifier << "8_snorm"; break; 104 case tcu::TextureFormat::SIGNED_INT32: qualifier << "32i"; break; 105 case tcu::TextureFormat::SIGNED_INT16: qualifier << "16i"; break; 106 case tcu::TextureFormat::SIGNED_INT8: qualifier << "8i"; break [all...] |
es31fFboTestCase.hpp | 33 class TextureFormat; 59 void readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias); 63 void clearColorBuffer (const tcu::TextureFormat& format, const tcu::Vec4& value = tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f));
|
es31fShaderImageLoadStoreTests.cpp | 67 using tcu::TextureFormat; 135 static inline bool isFormatTypeUnsignedInteger (TextureFormat::ChannelType type) 137 return type == TextureFormat::UNSIGNED_INT8 || 138 type == TextureFormat::UNSIGNED_INT16 || 139 type == TextureFormat::UNSIGNED_INT32; 142 static inline bool isFormatTypeSignedInteger (TextureFormat::ChannelType type) 144 return type == TextureFormat::SIGNED_INT8 || 145 type == TextureFormat::SIGNED_INT16 || 146 type == TextureFormat::SIGNED_INT32; 149 static inline bool isFormatTypeInteger (TextureFormat::ChannelType type [all...] |
/external/deqp/framework/opengl/ |
gluTextureUtil.cpp | 38 * \brief Map tcu::TextureFormat to GL pixel transfer format. 46 TransferFormat getTransferFormat (tcu::TextureFormat texFormat) 48 using tcu::TextureFormat; 56 case TextureFormat::SIGNED_INT8: 57 case TextureFormat::SIGNED_INT16: 58 case TextureFormat::SIGNED_INT32: 59 case TextureFormat::UNSIGNED_INT8: 60 case TextureFormat::UNSIGNED_INT16: 61 case TextureFormat::UNSIGNED_INT32: 62 case TextureFormat::UNSIGNED_INT_1010102_REV [all...] |
gluTextureUtil.hpp | 60 tcu::TextureFormat mapGLTransferFormat (deUint32 format, deUint32 dataType); 61 tcu::TextureFormat mapGLInternalFormat (deUint32 internalFormat); 69 TransferFormat getTransferFormat (tcu::TextureFormat format); 70 deUint32 getInternalFormat (tcu::TextureFormat format); 80 DataType getSampler1DType (tcu::TextureFormat format); 81 DataType getSampler2DType (tcu::TextureFormat format); 82 DataType getSamplerCubeType (tcu::TextureFormat format); 83 DataType getSampler1DArrayType (tcu::TextureFormat format); 84 DataType getSampler2DArrayType (tcu::TextureFormat format); 85 DataType getSampler3DType (tcu::TextureFormat format) [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkImageUtil.cpp | 62 const tcu::TextureFormat tcuFormat = mapVkFormat(format); 63 return tcuFormat.order == tcu::TextureFormat::D || tcuFormat.order == tcu::TextureFormat::S || tcuFormat.order == tcu::TextureFormat::DS; 70 case tcu::TextureFormat::sR: 71 case tcu::TextureFormat::sRG: 72 case tcu::TextureFormat::sRGB: 73 case tcu::TextureFormat::sRGBA: 74 case tcu::TextureFormat::sBGR: 75 case tcu::TextureFormat::sBGRA [all...] |
vkImageUtil.hpp | 46 tcu::TextureFormat mapVkFormat (VkFormat format); 48 tcu::TextureFormat getDepthCopyFormat (VkFormat combinedFormat); 49 tcu::TextureFormat getStencilCopyFormat (VkFormat combinedFormat); 61 VkFormat mapTextureFormat (const tcu::TextureFormat& format); 62 VkSamplerCreateInfo mapSampler (const tcu::Sampler& sampler, const tcu::TextureFormat& format, float minLod = 0.0f, float maxLod = 1000.0f);
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineClearUtil.hpp | 36 tcu::Vec4 defaultClearColor (const tcu::TextureFormat& format); 37 tcu::IVec4 defaultClearColorInt (const tcu::TextureFormat& format); 38 tcu::UVec4 defaultClearColorUint (const tcu::TextureFormat& format);
|
vktPipelineImageUtil.hpp | 99 TestTexture (const tcu::TextureFormat& format, int width, int height, int depth); 118 virtual de::MovePtr<TestTexture> copy (const tcu::TextureFormat) const = 0; 120 virtual const tcu::TextureFormat& getTextureFormat (void) const = 0; 141 TestTexture1D (const tcu::TextureFormat& format, int width); 150 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } 153 virtual de::MovePtr<TestTexture> copy (const tcu::TextureFormat) const; 162 TestTexture1DArray (const tcu::TextureFormat& format, int width, int arraySize); 172 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } 175 virtual de::MovePtr<TestTexture> copy (const tcu::TextureFormat) const; 184 TestTexture2D (const tcu::TextureFormat& format, int width, int height) [all...] |
vktPipelineMultisampleTestsUtil.cpp | 244 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType) 269 std::string getShaderImageDataType (const tcu::TextureFormat& format) 285 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format) 292 case tcu::TextureFormat::R: orderPart = "r"; break; 293 case tcu::TextureFormat::RG: orderPart = "rg"; break; 294 case tcu::TextureFormat::RGB: orderPart = "rgb"; break; 295 case tcu::TextureFormat::RGBA: orderPart = "rgba"; break; 304 case tcu::TextureFormat::FLOAT: typePart = "32f"; break; 305 case tcu::TextureFormat::HALF_FLOAT: typePart = "16f"; break; 307 case tcu::TextureFormat::UNSIGNED_INT32: typePart = "32ui"; break [all...] |
vktPipelineMultisampleTestsUtil.hpp | 60 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType); 61 std::string getShaderImageDataType (const tcu::TextureFormat& format); 62 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format); 78 deUint32 getImageMipLevelSizeInBytes (const vk::VkExtent3D& baseExtents, const deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevel); 79 deUint32 getImageSizeInBytes (const vk::VkExtent3D& baseExtents, const deUint32 layersCount, const tcu::TextureFormat& format, const deUint32 mipmapLevelsCount = 1u);
|
/external/deqp/framework/common/ |
tcuTextureUtil.cpp | 102 bool isSRGB (TextureFormat format) 105 DE_STATIC_ASSERT(TextureFormat::CHANNELORDER_LAST == 21); 107 return format.order == TextureFormat::sR || 108 format.order == TextureFormat::sRG || 109 format.order == TextureFormat::sRGB || 110 format.order == TextureFormat::sRGBA || 111 format.order == TextureFormat::sBGR || 112 format.order == TextureFormat::sBGRA; 115 tcu::Vec4 linearToSRGBIfNeeded (const TextureFormat& format, const tcu::Vec4& color) 120 bool isCombinedDepthStencilType (TextureFormat::ChannelType type [all...] |
tcuTexture.cpp | 274 inline float channelToFloat (const deUint8* value, TextureFormat::ChannelType type) 277 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 40); 281 case TextureFormat::SNORM_INT8: return de::max(-1.0f, (float)*((const deInt8*)value) / 127.0f); 282 case TextureFormat::SNORM_INT16: return de::max(-1.0f, (float)*((const deInt16*)value) / 32767.0f); 283 case TextureFormat::SNORM_INT32: return de::max(-1.0f, (float)*((const deInt32*)value) / 2147483647.0f); 284 case TextureFormat::UNORM_INT8: return (float)*((const deUint8*)value) / 255.0f; 285 case TextureFormat::UNORM_INT16: return (float)*((const deUint16*)value) / 65535.0f; 286 case TextureFormat::UNORM_INT24: return (float)readUint24(value) / 16777215.0f; 287 case TextureFormat::UNORM_INT32: return (float)*((const deUint32*)value) / 4294967295.0f; 288 case TextureFormat::SIGNED_INT8: return (float)*((const deInt8*)value) [all...] |
tcuSurface.hpp | 107 return ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m_height, 1, m_pixels.empty() ? DE_NULL : m_pixels.getPtr()); 113 return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m_height, 1, m_pixels.empty() ? DE_NULL : m_pixels.getPtr());
|
tcuTextureUtil.hpp | 42 bool isCombinedDepthStencilType (TextureFormat::ChannelType type); 43 bool hasStencilComponent (TextureFormat::ChannelOrder order); 44 bool hasDepthComponent (TextureFormat::ChannelOrder order); 51 bool isSRGB (TextureFormat format); 67 TextureChannelClass getTextureChannelClass (TextureFormat::ChannelType channelType); 81 bool isAccessValid (TextureFormat format, TextureAccessType type); 102 TextureFormatInfo getTextureFormatInfo (const TextureFormat& format); 103 IVec4 getTextureFormatBitDepth (const TextureFormat& format); 104 IVec4 getTextureFormatMantissaBitDepth (const TextureFormat& format); 105 BVec4 getTextureFormatChannelMask (const TextureFormat& format) [all...] |
tcuImageCompare.cpp | 220 TextureLevel errorMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.getWidth(), reference.getHeight()); 232 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) 246 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) [all...] |
tcuImageIO.cpp | 107 TextureFormat textureFormat; 114 textureFormat = TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); 116 textureFormat = TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesShaderIntrinsicsBase.hpp | 89 std::string getOpTypeImageComponent (const tcu::TextureFormat& format); 90 std::string getImageComponentTypeName (const tcu::TextureFormat& format); 91 std::string getImageComponentVec4TypeName (const tcu::TextureFormat& format); 94 const tcu::TextureFormat& format, 108 const tcu::TextureFormat& format) 121 const tcu::TextureFormat m_format; 131 const tcu::TextureFormat& format) 137 , m_residencyFormat(tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32) 157 const tcu::TextureFormat m_format [all...] |
vktSparseResourcesShaderIntrinsics.cpp | 55 static const tcu::TextureFormat formats[] = 57 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32), 58 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT16), 59 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT8) [all...] |
vktSparseResourcesImageSparseBinding.cpp | 63 const tcu::TextureFormat& format); 70 const tcu::TextureFormat m_format; 78 const tcu::TextureFormat& format) 92 const tcu::TextureFormat& format); 99 const tcu::TextureFormat m_format; 105 const tcu::TextureFormat& format) 386 static const tcu::TextureFormat formats[] = 388 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32) [all...] |
vktSparseResourcesMipmapSparseResidency.cpp | 74 const tcu::TextureFormat& format); 81 const tcu::TextureFormat m_format; 89 const tcu::TextureFormat& format) 103 const tcu::TextureFormat& format); 111 const tcu::TextureFormat m_format; 117 const tcu::TextureFormat& format) 505 static const tcu::TextureFormat formats[] = 507 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageTestsUtil.cpp | [all...] |
/external/deqp/modules/gles3/functional/ |
es3fFboTestCase.hpp | 33 class TextureFormat; 59 void readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias); 63 void clearColorBuffer (const tcu::TextureFormat& format, const tcu::Vec4& value = tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f));
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktSampleVerifierUtil.cpp | 654 bool isPackedType (const TextureFormat::ChannelType type) 656 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 40); 660 case TextureFormat::UNORM_BYTE_44: 661 case TextureFormat::UNORM_SHORT_565: 662 case TextureFormat::UNORM_SHORT_555: 663 case TextureFormat::UNORM_SHORT_4444: 664 case TextureFormat::UNORM_SHORT_5551: 665 case TextureFormat::UNORM_SHORT_1555: 666 case TextureFormat::UNORM_INT_101010: 667 case TextureFormat::SNORM_INT_1010102_REV [all...] |
/external/deqp/modules/gles2/functional/ |
es2fReadPixelsTests.cpp | 66 void getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize); 144 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize) 161 format = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); 176 tcu::TextureFormat format(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); 224 tcu::Texture2D referenceRGBA8 (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), width, height) [all...] |