/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.cpp | 62 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in isDepthStencilFormat() 63 …n tcuFormat.order == tcu::TextureFormat::D || tcuFormat.order == tcu::TextureFormat::S || tcuForma… in isDepthStencilFormat() 134 VkFormat mapTextureFormat (const tcu::TextureFormat& format) in mapTextureFormat() 136 DE_STATIC_ASSERT(tcu::TextureFormat::CHANNELORDER_LAST < (1<<16)); in mapTextureFormat() 137 DE_STATIC_ASSERT(tcu::TextureFormat::CHANNELTYPE_LAST < (1<<16)); in mapTextureFormat() 140 #define FMT_CASE(ORDER, TYPE) PACK_FMT(tcu::TextureFormat::ORDER, tcu::TextureFormat::TYPE) in mapTextureFormat() 270 tcu::TextureFormat mapVkFormat (VkFormat format) in mapVkFormat() 272 using tcu::TextureFormat; in mapVkFormat() 279 …case VK_FORMAT_R4G4_UNORM_PACK8: return TextureFormat(TextureFormat::RG, TextureFormat::UNORM_BY… in mapVkFormat() 280 …case VK_FORMAT_R5G6B5_UNORM_PACK16: return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM… in mapVkFormat() [all …]
|
/external/deqp/framework/opengl/ |
D | gluTextureUtil.cpp | 46 TransferFormat getTransferFormat (tcu::TextureFormat texFormat) in getTransferFormat() 48 using tcu::TextureFormat; in getTransferFormat() 56 case TextureFormat::SIGNED_INT8: in getTransferFormat() 57 case TextureFormat::SIGNED_INT16: in getTransferFormat() 58 case TextureFormat::SIGNED_INT32: in getTransferFormat() 59 case TextureFormat::UNSIGNED_INT8: in getTransferFormat() 60 case TextureFormat::UNSIGNED_INT16: in getTransferFormat() 61 case TextureFormat::UNSIGNED_INT32: in getTransferFormat() 62 case TextureFormat::UNSIGNED_INT_1010102_REV: in getTransferFormat() 73 case TextureFormat::A: format = GL_ALPHA; break; in getTransferFormat() [all …]
|
D | 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);
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeShaderImageLoadStoreTests.cpp | 95 std::string getShaderImageLayoutQualifier (const tcu::TextureFormat& format) in getShaderImageLayoutQualifier() 101 case tcu::TextureFormat::RGBA: qualifier << "rgba"; break; in getShaderImageLayoutQualifier() 102 case tcu::TextureFormat::R: qualifier << "r"; break; in getShaderImageLayoutQualifier() 110 case tcu::TextureFormat::FLOAT: qualifier << "32f"; break; in getShaderImageLayoutQualifier() 111 case tcu::TextureFormat::HALF_FLOAT: qualifier << "16f"; break; in getShaderImageLayoutQualifier() 112 case tcu::TextureFormat::UNORM_INT8: qualifier << "8"; break; in getShaderImageLayoutQualifier() 113 case tcu::TextureFormat::SNORM_INT8: qualifier << "8_snorm"; break; in getShaderImageLayoutQualifier() 114 case tcu::TextureFormat::SIGNED_INT32: qualifier << "32i"; break; in getShaderImageLayoutQualifier() 115 case tcu::TextureFormat::SIGNED_INT16: qualifier << "16i"; break; in getShaderImageLayoutQualifier() 116 case tcu::TextureFormat::SIGNED_INT8: qualifier << "8i"; break; in getShaderImageLayoutQualifier() [all …]
|
D | es31fShaderImageLoadStoreTests.cpp | 67 using tcu::TextureFormat; 134 static inline bool isFormatTypeUnsignedInteger (TextureFormat::ChannelType type) in isFormatTypeUnsignedInteger() 136 return type == TextureFormat::UNSIGNED_INT8 || in isFormatTypeUnsignedInteger() 137 type == TextureFormat::UNSIGNED_INT16 || in isFormatTypeUnsignedInteger() 138 type == TextureFormat::UNSIGNED_INT32; in isFormatTypeUnsignedInteger() 141 static inline bool isFormatTypeSignedInteger (TextureFormat::ChannelType type) in isFormatTypeSignedInteger() 143 return type == TextureFormat::SIGNED_INT8 || in isFormatTypeSignedInteger() 144 type == TextureFormat::SIGNED_INT16 || in isFormatTypeSignedInteger() 145 type == TextureFormat::SIGNED_INT32; in isFormatTypeSignedInteger() 148 static inline bool isFormatTypeInteger (TextureFormat::ChannelType type) in isFormatTypeInteger() [all …]
|
D | es31fStencilTexturingTests.cpp | 62 using tcu::TextureFormat; 170 DE_ASSERT(dst.getFormat().order == TextureFormat::S || dst.getFormat().order == TextureFormat::DS); in renderTestPatternReference() 173 if (dst.getFormat().order == TextureFormat::DS) in renderTestPatternReference() 390 DE_ASSERT(access.getFormat() == TextureFormat(TextureFormat::S, TextureFormat::UNSIGNED_INT8)); in stencilToRedAccess() 391 …return tcu::ConstPixelBufferAccess(TextureFormat(TextureFormat::R, TextureFormat::UNSIGNED_INT8), … in stencilToRedAccess() 399 DE_ASSERT(stencilRef.getFormat().order == TextureFormat::S); in compareStencilToRed() 533 …TextureLevel readLevel (TextureFormat(TextureFormat::RGBA, TextureFormat::UNSIGNED_INT32), wi… in iterate() 534 …TextureLevel stencilOnlyLevel (TextureFormat(TextureFormat::S, TextureFormat::UNSIGNED_INT8), w… in iterate() 616 …TextureLevel readLevel (TextureFormat(TextureFormat::RGBA, TextureFormat::UNSIGNED_INT32), width,… in iterate() 629 …TextureLevel reference(TextureFormat(TextureFormat::S, TextureFormat::UNSIGNED_INT8), width, heigh… in iterate() [all …]
|
D | es31fTextureLevelStateQueryTests.cpp | 270 static bool isDepthFormat (const tcu::TextureFormat& fmt) in isDepthFormat() 272 return fmt.order == tcu::TextureFormat::D || fmt.order == tcu::TextureFormat::DS; in isDepthFormat() 353 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); in isLegalFormatForTarget() 383 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(internalFormat); in getPixelSize() 1242 const tcu::TextureFormat format = glu::mapGLInternalFormat(internalFormat); in getMinimumComponentResolution() 1248 if (format.order == tcu::TextureFormat::R || in getMinimumComponentResolution() 1249 format.order == tcu::TextureFormat::RG || in getMinimumComponentResolution() 1250 format.order == tcu::TextureFormat::RGB || in getMinimumComponentResolution() 1251 format.order == tcu::TextureFormat::RGBA || in getMinimumComponentResolution() 1252 format.order == tcu::TextureFormat::BGRA || in getMinimumComponentResolution() [all …]
|
/external/deqp/framework/common/ |
D | tcuTextureUtil.cpp | 102 bool isSRGB (TextureFormat format) in isSRGB() 105 DE_STATIC_ASSERT(TextureFormat::CHANNELORDER_LAST == 21); in isSRGB() 107 return format.order == TextureFormat::sR || in isSRGB() 108 format.order == TextureFormat::sRG || in isSRGB() 109 format.order == TextureFormat::sRGB || in isSRGB() 110 format.order == TextureFormat::sRGBA || in isSRGB() 111 format.order == TextureFormat::sBGR || in isSRGB() 112 format.order == TextureFormat::sBGRA; in isSRGB() 115 bool isCombinedDepthStencilType (TextureFormat::ChannelType type) in isCombinedDepthStencilType() 118 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 38); in isCombinedDepthStencilType() [all …]
|
D | tcuTexture.cpp | 260 int getChannelSize (TextureFormat::ChannelType type) in getChannelSize() 263 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 38); in getChannelSize() 267 case TextureFormat::SNORM_INT8: return 1; in getChannelSize() 268 case TextureFormat::SNORM_INT16: return 2; in getChannelSize() 269 case TextureFormat::SNORM_INT32: return 4; in getChannelSize() 270 case TextureFormat::UNORM_INT8: return 1; in getChannelSize() 271 case TextureFormat::UNORM_INT16: return 2; in getChannelSize() 272 case TextureFormat::UNORM_INT24: return 3; in getChannelSize() 273 case TextureFormat::UNORM_INT32: return 4; in getChannelSize() 274 case TextureFormat::SIGNED_INT8: return 1; in getChannelSize() [all …]
|
D | tcuImageCompare.cpp | 219 …TextureLevel errorMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.… in fuzzyCompare() 231 …t() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != T… in fuzzyCompare() 245 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in fuzzyCompare() 292 …TCU_CHECK_INTERNAL(ref.getFormat().type == TextureFormat::UNORM_INT8 && cmp.getFormat().type == Te… in computeSquaredDiffSum() 336 …TextureLevel diffMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.ge… in measurePixelDiffAccuracy() 347 …t() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != T… in measurePixelDiffAccuracy() 358 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in measurePixelDiffAccuracy() 492 …TextureLevel errorMaskStorage (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), widt… in floatUlpThresholdCompare() 541 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in floatUlpThresholdCompare() 578 …TextureLevel errorMaskStorage (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), widt… in floatThresholdCompare() [all …]
|
D | 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 …]
|
D | tcuImageIO.cpp | 107 TextureFormat textureFormat; in loadPNG() 114 textureFormat = TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in loadPNG() 116 textureFormat = TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in loadPNG() 135 static int textureFormatToPNGFormat (const TextureFormat& format) in textureFormatToPNGFormat() 137 if (format == TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8)) in textureFormatToPNGFormat() 139 else if (format == TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in textureFormatToPNGFormat()
|
D | tcuCompressedTexture.cpp | 207 TextureFormat getUncompressedFormat (CompressedTexFormat format) in getUncompressedFormat() 213 …case COMPRESSEDTEXFORMAT_ETC1_RGB8: return TextureFormat(TextureFormat::RGB, TextureFormat::… in getUncompressedFormat() 214 …case COMPRESSEDTEXFORMAT_EAC_R11: return TextureFormat(TextureFormat::R, TextureFormat::UNO… in getUncompressedFormat() 215 …case COMPRESSEDTEXFORMAT_EAC_SIGNED_R11: return TextureFormat(TextureFormat::R, TextureFormat… in getUncompressedFormat() 216 …case COMPRESSEDTEXFORMAT_EAC_RG11: return TextureFormat(TextureFormat::RG, TextureFormat::U… in getUncompressedFormat() 217 …case COMPRESSEDTEXFORMAT_EAC_SIGNED_RG11: return TextureFormat(TextureFormat::RG, TextureForm… in getUncompressedFormat() 218 …case COMPRESSEDTEXFORMAT_ETC2_RGB8: return TextureFormat(TextureFormat::RGB, TextureFormat::… in getUncompressedFormat() 219 …case COMPRESSEDTEXFORMAT_ETC2_SRGB8: return TextureFormat(TextureFormat::sRGB, TextureFormat:… in getUncompressedFormat() 220 …SEDTEXFORMAT_ETC2_RGB8_PUNCHTHROUGH_ALPHA1: return TextureFormat(TextureFormat::RGBA, TextureForm… in getUncompressedFormat() 221 …SEDTEXFORMAT_ETC2_SRGB8_PUNCHTHROUGH_ALPHA1: return TextureFormat(TextureFormat::sRGBA, TextureFor… in getUncompressedFormat() [all …]
|
D | tcuTestLog.cpp | 69 if (m_access.getFormat().order == tcu::TextureFormat::D) in LogImage() 71 else if (m_access.getFormat().order == tcu::TextureFormat::S) in LogImage() 76 if (m_access.getFormat().order != tcu::TextureFormat::DS) in LogImage() 105 DE_ASSERT(access.getFormat().order != tcu::TextureFormat::DS); in LogImage() 110 if (access.getFormat().order == tcu::TextureFormat::D) in LogImage() 112 if (access.getFormat().order == tcu::TextureFormat::S) in LogImage() 125 if (m_access.getFormat().order != tcu::TextureFormat::DS) in write() 238 const TextureFormat& format = access.getFormat(); in writeImage() 250 if (depth == 1 && format.type == TextureFormat::UNORM_INT8 in writeImage() 252 && (format.order == TextureFormat::RGB || format.order == TextureFormat::RGBA) in writeImage() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesImageSparseResidency.cpp | 82 deUint32 getNumUsedChannels (const tcu::TextureFormat& format) in getNumUsedChannels() 86 case tcu::TextureFormat::R: return 1; in getNumUsedChannels() 87 case tcu::TextureFormat::A: return 1; in getNumUsedChannels() 88 case tcu::TextureFormat::I: return 1; in getNumUsedChannels() 89 case tcu::TextureFormat::L: return 1; in getNumUsedChannels() 90 case tcu::TextureFormat::LA: return 2; in getNumUsedChannels() 91 case tcu::TextureFormat::RG: return 2; in getNumUsedChannels() 92 case tcu::TextureFormat::RA: return 2; in getNumUsedChannels() 93 case tcu::TextureFormat::RGB: return 3; in getNumUsedChannels() 94 case tcu::TextureFormat::RGBA: return 4; in getNumUsedChannels() [all …]
|
D | vktSparseResourcesImageSparseBinding.cpp | 63 const tcu::TextureFormat& format); 70 const tcu::TextureFormat m_format; 78 const tcu::TextureFormat& format) in ImageSparseBindingCase() 92 const tcu::TextureFormat& format); 99 const tcu::TextureFormat m_format; 105 const tcu::TextureFormat& format) in ImageSparseBindingInstance() 422 static const tcu::TextureFormat formats[] = in createImageSparseBindingTests() 424 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32), in createImageSparseBindingTests() 425 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT16), in createImageSparseBindingTests() 426 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT8), in createImageSparseBindingTests() [all …]
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 74 const tcu::TextureFormat& format); 81 const tcu::TextureFormat m_format; 89 const tcu::TextureFormat& format) in MipmapSparseResidencyCase() 103 const tcu::TextureFormat& format); 111 const tcu::TextureFormat m_format; 117 const tcu::TextureFormat& format) in MipmapSparseResidencyInstance() 570 static const tcu::TextureFormat formats[] = in createMipmapSparseResidencyTests() 572 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32), in createMipmapSparseResidencyTests() 573 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT16), in createMipmapSparseResidencyTests() 574 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT8), in createMipmapSparseResidencyTests() [all …]
|
D | vktSparseResourcesTestsUtil.cpp | 606 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType) in getShaderImageType() 631 std::string getShaderImageDataType(const tcu::TextureFormat& format) in getShaderImageDataType() 648 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format) in getShaderImageFormatQualifier() 655 case tcu::TextureFormat::R: orderPart = "r"; break; in getShaderImageFormatQualifier() 656 case tcu::TextureFormat::RG: orderPart = "rg"; break; in getShaderImageFormatQualifier() 657 case tcu::TextureFormat::RGB: orderPart = "rgb"; break; in getShaderImageFormatQualifier() 658 case tcu::TextureFormat::RGBA: orderPart = "rgba"; break; in getShaderImageFormatQualifier() 667 case tcu::TextureFormat::FLOAT: typePart = "32f"; break; in getShaderImageFormatQualifier() 668 case tcu::TextureFormat::HALF_FLOAT: typePart = "16f"; break; in getShaderImageFormatQualifier() 670 case tcu::TextureFormat::UNSIGNED_INT32: typePart = "32ui"; break; in getShaderImageFormatQualifier() [all …]
|
/external/deqp/modules/internal/ |
D | ditTextureFormatTests.cpp | 49 using tcu::TextureFormat; 1089 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_formatData) == TextureFormat::CHANNELTYPE_LAST); 1091 TextureFormat getBaseFormat (TextureFormat format) in getBaseFormat() 1093 …const TextureFormat::ChannelOrder baseOrders[] = { TextureFormat::RGBA, TextureFormat::RGB, Textur… in getBaseFormat() 1097 const TextureFormat curBaseFmt (baseOrders[baseOrderNdx], format.type); in getBaseFormat() 1105 ConstPixelBufferAccess getInputAccess (TextureFormat format) in getInputAccess() 1107 const TextureFormat inputFormat = getBaseFormat(format); in getInputAccess() 1118 const deUint32* getRawReference (TextureFormat format); 1121 const deUint32* getRawReference<float> (TextureFormat format) in getRawReference() 1127 const deUint32* getRawReference<deInt32> (TextureFormat format) in getRawReference() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fDepthStencilClearTests.cpp | 90 tcu::TextureFormat getDepthFormat (int depthBits) in getDepthFormat() 94 case 8: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT8); in getDepthFormat() 95 case 16: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT16); in getDepthFormat() 96 case 24: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT24); in getDepthFormat() 97 case 32: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::FLOAT); in getDepthFormat() 103 tcu::TextureFormat getStencilFormat (int stencilBits) in getStencilFormat() 107 case 8: return tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8); in getStencilFormat() 108 case 16: return tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT16); in getStencilFormat() 109 case 24: return tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT24); in getStencilFormat() 110 case 32: return tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT32); in getStencilFormat()
|
D | 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… in getFormatInfo() 161 format = tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in getFormatInfo() 176 tcu::TextureFormat format(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8); in iterate() 224 …tcu::Texture2D referenceRGBA8 (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::U… in iterate() 225 …tcu::Texture2D resultRGBA8 (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNO… in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fDepthStencilClearTests.cpp | 90 tcu::TextureFormat getDepthFormat (int depthBits) in getDepthFormat() 94 case 8: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT8); in getDepthFormat() 95 case 16: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT16); in getDepthFormat() 96 case 24: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::UNORM_INT24); in getDepthFormat() 97 case 32: return tcu::TextureFormat(tcu::TextureFormat::D, tcu::TextureFormat::FLOAT); in getDepthFormat() 103 tcu::TextureFormat getStencilFormat (int stencilBits) in getStencilFormat() 107 case 8: return tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT8); in getStencilFormat() 108 case 16: return tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT16); in getStencilFormat() 109 case 24: return tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT24); in getStencilFormat() 110 case 32: return tcu::TextureFormat(tcu::TextureFormat::S, tcu::TextureFormat::UNSIGNED_INT32); in getStencilFormat()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageTestsUtil.cpp | 503 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType) in getShaderImageType() 527 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format) in getShaderImageFormatQualifier() 534 case tcu::TextureFormat::R: orderPart = "r"; break; in getShaderImageFormatQualifier() 535 case tcu::TextureFormat::RG: orderPart = "rg"; break; in getShaderImageFormatQualifier() 536 case tcu::TextureFormat::RGB: orderPart = "rgb"; break; in getShaderImageFormatQualifier() 537 case tcu::TextureFormat::RGBA: orderPart = "rgba"; break; in getShaderImageFormatQualifier() 546 case tcu::TextureFormat::FLOAT: typePart = "32f"; break; in getShaderImageFormatQualifier() 547 case tcu::TextureFormat::HALF_FLOAT: typePart = "16f"; break; in getShaderImageFormatQualifier() 549 case tcu::TextureFormat::UNSIGNED_INT32: typePart = "32ui"; break; in getShaderImageFormatQualifier() 550 case tcu::TextureFormat::UNSIGNED_INT16: typePart = "16ui"; break; in getShaderImageFormatQualifier() [all …]
|
/external/deqp/modules/egl/ |
D | teglRenderTests.cpp | 332 tcu::TextureFormat getColorFormat (const tcu::PixelFormat& colorBits) in getColorFormat() 334 using tcu::TextureFormat; in getColorFormat() 346 case PACK_FMT(8,8,8,8): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getColorFormat() 347 case PACK_FMT(8,8,8,0): return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8); in getColorFormat() 348 …case PACK_FMT(4,4,4,4): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_4444… in getColorFormat() 349 …case PACK_FMT(5,5,5,1): return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_SHORT_5551… in getColorFormat() 350 case PACK_FMT(5,6,5,0): return TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_SHORT_565); in getColorFormat() 353 default: return TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8); in getColorFormat() 359 tcu::TextureFormat getDepthFormat (const int depthBits) in getDepthFormat() 363 case 0: return tcu::TextureFormat(); in getDepthFormat() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineBlendTests.cpp | 125 static float getNormChannelThreshold (const tcu::TextureFormat& format, int numBits); 126 static tcu::Vec4 getFormatThreshold (const tcu::TextureFormat& format); 819 float BlendTestInstance::getNormChannelThreshold (const tcu::TextureFormat& format, int numBits) in getNormChannelThreshold() 833 tcu::Vec4 BlendTestInstance::getFormatThreshold (const tcu::TextureFormat& format) in getFormatThreshold() 836 using tcu::TextureFormat; in getFormatThreshold() 842 case TextureFormat::UNORM_BYTE_44: in getFormatThreshold() 846 case TextureFormat::UNORM_SHORT_565: in getFormatThreshold() 850 case TextureFormat::UNORM_SHORT_555: in getFormatThreshold() 854 case TextureFormat::UNORM_SHORT_4444: in getFormatThreshold() 858 case TextureFormat::UNORM_SHORT_5551: in getFormatThreshold() [all …]
|