/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; 134 VkFormat mapTextureFormat (const tcu::TextureFormat& format) 136 DE_STATIC_ASSERT(tcu::TextureFormat::CHANNELORDER_LAST < (1<<16)); 137 DE_STATIC_ASSERT(tcu::TextureFormat::CHANNELTYPE_LAST < (1<<16)); 140 #define FMT_CASE(ORDER, TYPE) PACK_FMT(tcu::TextureFormat::ORDER, tcu::TextureFormat::TYPE) 270 tcu::TextureFormat mapVkFormat (VkFormat format [all...] |
vkImageUtil.hpp | 43 tcu::TextureFormat mapVkFormat (VkFormat format); 45 tcu::TextureFormat getDepthCopyFormat (VkFormat combinedFormat); 46 tcu::TextureFormat getStencilCopyFormat (VkFormat combinedFormat); 61 VkFormat mapTextureFormat (const tcu::TextureFormat& format); 62 VkSamplerCreateInfo mapSampler (const tcu::Sampler& sampler, const tcu::TextureFormat& format);
|
/external/deqp/modules/gles31/functional/ |
es31fNegativeShaderImageLoadStoreTests.cpp | 95 std::string getShaderImageLayoutQualifier (const tcu::TextureFormat& format) 101 case tcu::TextureFormat::RGBA: qualifier << "rgba"; break; 102 case tcu::TextureFormat::R: qualifier << "r"; break; 110 case tcu::TextureFormat::FLOAT: qualifier << "32f"; break; 111 case tcu::TextureFormat::HALF_FLOAT: qualifier << "16f"; break; 112 case tcu::TextureFormat::UNORM_INT8: qualifier << "8"; break; 113 case tcu::TextureFormat::SNORM_INT8: qualifier << "8_snorm"; break; 114 case tcu::TextureFormat::SIGNED_INT32: qualifier << "32i"; break; 115 case tcu::TextureFormat::SIGNED_INT16: qualifier << "16i"; break; 116 case tcu::TextureFormat::SIGNED_INT8: qualifier << "8i"; break [all...] |
es31fStencilTexturingTests.cpp | 62 using tcu::TextureFormat; 170 DE_ASSERT(dst.getFormat().order == TextureFormat::S || dst.getFormat().order == TextureFormat::DS); 173 if (dst.getFormat().order == TextureFormat::DS) 390 DE_ASSERT(access.getFormat() == TextureFormat(TextureFormat::S, TextureFormat::UNSIGNED_INT8)); 391 return tcu::ConstPixelBufferAccess(TextureFormat(TextureFormat::R, TextureFormat::UNSIGNED_INT8), access.getSize(), access.getPitch(), access.getDataPtr()) [all...] |
es31fShaderImageLoadStoreTests.cpp | 67 using tcu::TextureFormat; 134 static inline bool isFormatTypeUnsignedInteger (TextureFormat::ChannelType type) 136 return type == TextureFormat::UNSIGNED_INT8 || 137 type == TextureFormat::UNSIGNED_INT16 || 138 type == TextureFormat::UNSIGNED_INT32; 141 static inline bool isFormatTypeSignedInteger (TextureFormat::ChannelType type) 143 return type == TextureFormat::SIGNED_INT8 || 144 type == TextureFormat::SIGNED_INT16 || 145 type == TextureFormat::SIGNED_INT32; 148 static inline bool isFormatTypeInteger (TextureFormat::ChannelType type [all...] |
es31fTextureLevelStateQueryTests.cpp | 270 static bool isDepthFormat (const tcu::TextureFormat& fmt) 272 return fmt.order == tcu::TextureFormat::D || fmt.order == tcu::TextureFormat::DS; 353 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); 383 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(internalFormat); [all...] |
es31fFboTestUtil.hpp | 124 glu::DataType getFragmentOutputType (const tcu::TextureFormat& format); 125 tcu::TextureFormat getFramebufferReadFormat (const tcu::TextureFormat& format); 129 void clearColorBuffer (sglr::Context& ctx, const tcu::TextureFormat& format, const tcu::Vec4& value); 130 void readPixels (sglr::Context& ctx, tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias); 132 tcu::RGBA getFormatThreshold (const tcu::TextureFormat& format);
|
/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 getSampler2DArrayType (tcu::TextureFormat format); 84 DataType getSampler3DType (tcu::TextureFormat format); 85 DataType getSamplerCubeArrayType (tcu::TextureFormat format) [all...] |
/external/deqp/framework/common/ |
tcuTexture.cpp | 260 int getChannelSize (TextureFormat::ChannelType type) 263 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 38); 267 case TextureFormat::SNORM_INT8: return 1; 268 case TextureFormat::SNORM_INT16: return 2; 269 case TextureFormat::SNORM_INT32: return 4; 270 case TextureFormat::UNORM_INT8: return 1; 271 case TextureFormat::UNORM_INT16: return 2; 272 case TextureFormat::UNORM_INT24: return 3; 273 case TextureFormat::UNORM_INT32: return 4; 274 case TextureFormat::SIGNED_INT8: return 1 [all...] |
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 bool isCombinedDepthStencilType (TextureFormat::ChannelType type) 118 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 38) [all...] |
tcuImageIO.cpp | 107 TextureFormat textureFormat; 114 textureFormat = TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); 116 textureFormat = TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) [all...] |
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 | 219 TextureLevel errorMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.getWidth(), reference.getHeight()); 231 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) 245 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) [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());
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesImageSparseResidency.cpp | 82 deUint32 getNumUsedChannels (const tcu::TextureFormat& format) 86 case tcu::TextureFormat::R: return 1; 87 case tcu::TextureFormat::A: return 1; 88 case tcu::TextureFormat::I: return 1; 89 case tcu::TextureFormat::L: return 1; 90 case tcu::TextureFormat::LA: return 2; 91 case tcu::TextureFormat::RG: return 2; 92 case tcu::TextureFormat::RA: return 2; 93 case tcu::TextureFormat::RGB: return 3; 94 case tcu::TextureFormat::RGBA: return 4 [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) 422 static const tcu::TextureFormat formats[] = 424 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) 570 static const tcu::TextureFormat formats[] = 572 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fDepthStencilClearTests.cpp | 90 tcu::TextureFormat getDepthFormat (int depthBits) 94 case 8: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT8); 95 case 16: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT16); 96 case 24: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT24) [all...] |
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...] |
es2fTextureSpecificationTests.cpp | 62 tcu::TextureFormat mapGLUnsizedInternalFormat (deUint32 internalFormat) 64 using tcu::TextureFormat; 67 case GL_ALPHA: return TextureFormat(TextureFormat::A, TextureFormat::UNORM_INT8); 68 case GL_LUMINANCE: return TextureFormat(TextureFormat::L, TextureFormat::UNORM_INT8); 69 case GL_LUMINANCE_ALPHA: return TextureFormat(TextureFormat::LA, TextureFormat::UNORM_INT8) [all...] |
/external/deqp/modules/egl/ |
teglRenderTests.cpp | 332 tcu::TextureFormat getColorFormat (const tcu::PixelFormat& colorBits) 334 using tcu::TextureFormat; 346 case PACK_FMT(8,8,8,8): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); 347 case PACK_FMT(8,8,8,0): return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); 348 case PACK_FMT(4,4,4,4): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_4444) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageTestsUtil.cpp | 503 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType) 527 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format) 534 case tcu::TextureFormat::R: orderPart = "r"; break; 535 case tcu::TextureFormat::RG: orderPart = "rg"; break; 536 case tcu::TextureFormat::RGB: orderPart = "rgb"; break; 537 case tcu::TextureFormat::RGBA: orderPart = "rgba"; break; 546 case tcu::TextureFormat::FLOAT: typePart = "32f"; break; 547 case tcu::TextureFormat::HALF_FLOAT: typePart = "16f"; break; 549 case tcu::TextureFormat::UNSIGNED_INT32: typePart = "32ui"; break; 550 case tcu::TextureFormat::UNSIGNED_INT16: typePart = "16ui"; break [all...] |
/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);
|
/external/deqp/modules/gles3/functional/ |
es3fDepthStencilClearTests.cpp | 90 tcu::TextureFormat getDepthFormat (int depthBits) 94 case 8: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT8); 95 case 16: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT16); 96 case 24: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT24) [all...] |