Home
last modified time | relevance | path

Searched refs:TextureFormat (Results 1 – 25 of 217) sorted by relevance

123456789

/external/deqp/framework/opengl/
DgluTextureUtil.cpp46 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 …]
DgluTextureUtil.hpp60 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/
DvkImageUtil.cpp62 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in isDepthStencilFormat()
63 …n tcuFormat.order == tcu::TextureFormat::D || tcuFormat.order == tcu::TextureFormat::S || tcuForma… in isDepthStencilFormat()
70 case tcu::TextureFormat::sR: in isSrgbFormat()
71 case tcu::TextureFormat::sRG: in isSrgbFormat()
72 case tcu::TextureFormat::sRGB: in isSrgbFormat()
73 case tcu::TextureFormat::sRGBA: in isSrgbFormat()
74 case tcu::TextureFormat::sBGR: in isSrgbFormat()
75 case tcu::TextureFormat::sBGRA: in isSrgbFormat()
198 using tcu::TextureFormat; in getYCbCrPlanarFormatDescription()
1497 VkFormat mapTextureFormat (const tcu::TextureFormat& format) in mapTextureFormat()
[all …]
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderImageLoadStoreTests.cpp85 std::string getShaderImageLayoutQualifier (const tcu::TextureFormat& format) in getShaderImageLayoutQualifier()
91 case tcu::TextureFormat::RGBA: qualifier << "rgba"; break; in getShaderImageLayoutQualifier()
92 case tcu::TextureFormat::R: qualifier << "r"; break; in getShaderImageLayoutQualifier()
100 case tcu::TextureFormat::FLOAT: qualifier << "32f"; break; in getShaderImageLayoutQualifier()
101 case tcu::TextureFormat::HALF_FLOAT: qualifier << "16f"; break; in getShaderImageLayoutQualifier()
102 case tcu::TextureFormat::UNORM_INT8: qualifier << "8"; break; in getShaderImageLayoutQualifier()
103 case tcu::TextureFormat::SNORM_INT8: qualifier << "8_snorm"; break; in getShaderImageLayoutQualifier()
104 case tcu::TextureFormat::SIGNED_INT32: qualifier << "32i"; break; in getShaderImageLayoutQualifier()
105 case tcu::TextureFormat::SIGNED_INT16: qualifier << "16i"; break; in getShaderImageLayoutQualifier()
106 case tcu::TextureFormat::SIGNED_INT8: qualifier << "8i"; break; in getShaderImageLayoutQualifier()
[all …]
Des31fShaderImageLoadStoreTests.cpp67 using tcu::TextureFormat;
135 static inline bool isFormatTypeUnsignedInteger (TextureFormat::ChannelType type) in isFormatTypeUnsignedInteger()
137 return type == TextureFormat::UNSIGNED_INT8 || in isFormatTypeUnsignedInteger()
138 type == TextureFormat::UNSIGNED_INT16 || in isFormatTypeUnsignedInteger()
139 type == TextureFormat::UNSIGNED_INT32; in isFormatTypeUnsignedInteger()
142 static inline bool isFormatTypeSignedInteger (TextureFormat::ChannelType type) in isFormatTypeSignedInteger()
144 return type == TextureFormat::SIGNED_INT8 || in isFormatTypeSignedInteger()
145 type == TextureFormat::SIGNED_INT16 || in isFormatTypeSignedInteger()
146 type == TextureFormat::SIGNED_INT32; in isFormatTypeSignedInteger()
149 static inline bool isFormatTypeInteger (TextureFormat::ChannelType type) in isFormatTypeInteger()
[all …]
Des31fStencilTexturingTests.cpp62 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 …]
/external/deqp/framework/common/
DtcuTextureUtil.cpp102 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 tcu::Vec4 linearToSRGBIfNeeded (const TextureFormat& format, const tcu::Vec4& color) in linearToSRGBIfNeeded()
120 bool isCombinedDepthStencilType (TextureFormat::ChannelType type) in isCombinedDepthStencilType()
[all …]
DtcuTexture.cpp274 inline float channelToFloat (const deUint8* value, TextureFormat::ChannelType type) in channelToFloat()
277 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 40); in channelToFloat()
281 case TextureFormat::SNORM_INT8: return de::max(-1.0f, (float)*((const deInt8*)value) / 127.0f); in channelToFloat()
282 …case TextureFormat::SNORM_INT16: return de::max(-1.0f, (float)*((const deInt16*)value) / 32767.0f… in channelToFloat()
283 …case TextureFormat::SNORM_INT32: return de::max(-1.0f, (float)*((const deInt32*)value) / 21474836… in channelToFloat()
284 case TextureFormat::UNORM_INT8: return (float)*((const deUint8*)value) / 255.0f; in channelToFloat()
285 case TextureFormat::UNORM_INT16: return (float)*((const deUint16*)value) / 65535.0f; in channelToFloat()
286 case TextureFormat::UNORM_INT24: return (float)readUint24(value) / 16777215.0f; in channelToFloat()
287 case TextureFormat::UNORM_INT32: return (float)*((const deUint32*)value) / 4294967295.0f; in channelToFloat()
288 case TextureFormat::SIGNED_INT8: return (float)*((const deInt8*)value); in channelToFloat()
[all …]
DtcuImageCompare.cpp220 …TextureLevel errorMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.… in fuzzyCompare()
232 …t() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != T… in fuzzyCompare()
246 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in fuzzyCompare()
293 …TCU_CHECK_INTERNAL(ref.getFormat().type == TextureFormat::UNORM_INT8 && cmp.getFormat().type == Te… in computeSquaredDiffSum()
337 …TextureLevel diffMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.ge… in measurePixelDiffAccuracy()
348 …t() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8) && reference.getFormat() != T… in measurePixelDiffAccuracy()
359 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in measurePixelDiffAccuracy()
493 …TextureLevel errorMaskStorage (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), widt… in floatUlpThresholdCompare()
542 if (result.getFormat() != TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)) in floatUlpThresholdCompare()
579 …TextureLevel errorMaskStorage (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), widt… in floatThresholdCompare()
[all …]
DtcuTextureUtil.hpp42 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 …]
DtcuImageIO.cpp107 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()
DtcuCompressedTexture.cpp207 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 …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsics.cpp55 static const tcu::TextureFormat formats[] = in createSparseResourcesShaderIntrinsicsTests()
57 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32), in createSparseResourcesShaderIntrinsicsTests()
58 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT16), in createSparseResourcesShaderIntrinsicsTests()
59 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT8), in createSparseResourcesShaderIntrinsicsTests()
60 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32), in createSparseResourcesShaderIntrinsicsTests()
61 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT16), in createSparseResourcesShaderIntrinsicsTests()
62 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT8) in createSparseResourcesShaderIntrinsicsTests()
85 const tcu::TextureFormat& format = formats[formatNdx]; in createSparseResourcesShaderIntrinsicsTests()
DvktSparseResourcesShaderIntrinsicsBase.hpp89 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) in SparseShaderIntrinsicsCaseBase()
121 const tcu::TextureFormat m_format;
131 const tcu::TextureFormat& format) in SparseShaderIntrinsicsInstanceBase()
137 , m_residencyFormat(tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32) in SparseShaderIntrinsicsInstanceBase()
157 const tcu::TextureFormat m_format;
158 const tcu::TextureFormat m_residencyFormat;
DvktSparseResourcesImageSparseBinding.cpp63 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()
386 static const tcu::TextureFormat formats[] = in createImageSparseBindingTests()
388 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32), in createImageSparseBindingTests()
389 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT16), in createImageSparseBindingTests()
390 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT8), in createImageSparseBindingTests()
[all …]
DvktSparseResourcesMipmapSparseResidency.cpp74 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()
505 static const tcu::TextureFormat formats[] = in createMipmapSparseResidencyTests()
507 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32), in createMipmapSparseResidencyTests()
508 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT16), in createMipmapSparseResidencyTests()
509 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT8), in createMipmapSparseResidencyTests()
[all …]
DvktSparseResourcesImageSparseResidency.cpp113 const tcu::TextureFormat& format,
122 const tcu::TextureFormat m_format;
131 const tcu::TextureFormat& format, in ImageSparseResidencyCase()
175 const tcu::TextureFormat& format);
182 const tcu::TextureFormat m_format;
188 const tcu::TextureFormat& format) in ImageSparseResidencyInstance()
668 static const tcu::TextureFormat formats[] = in createImageSparseResidencyTests()
670 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32), in createImageSparseResidencyTests()
671 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT16), in createImageSparseResidencyTests()
672 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT8), in createImageSparseResidencyTests()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.hpp99 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(); } in getTextureFormat()
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(); } in getTextureFormat()
175 virtual de::MovePtr<TestTexture> copy (const tcu::TextureFormat) const;
184 TestTexture2D (const tcu::TextureFormat& format, int width, int height);
[all …]
DvktPipelineMultisampleTestsUtil.cpp244 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType) in getShaderImageType()
269 std::string getShaderImageDataType (const tcu::TextureFormat& format) in getShaderImageDataType()
285 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format) in getShaderImageFormatQualifier()
292 case tcu::TextureFormat::R: orderPart = "r"; break; in getShaderImageFormatQualifier()
293 case tcu::TextureFormat::RG: orderPart = "rg"; break; in getShaderImageFormatQualifier()
294 case tcu::TextureFormat::RGB: orderPart = "rgb"; break; in getShaderImageFormatQualifier()
295 case tcu::TextureFormat::RGBA: orderPart = "rgba"; break; in getShaderImageFormatQualifier()
304 case tcu::TextureFormat::FLOAT: typePart = "32f"; break; in getShaderImageFormatQualifier()
305 case tcu::TextureFormat::HALF_FLOAT: typePart = "16f"; break; in getShaderImageFormatQualifier()
307 case tcu::TextureFormat::UNSIGNED_INT32: typePart = "32ui"; break; in getShaderImageFormatQualifier()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp963 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType, const … in getShaderImageType()
1001 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format) in getShaderImageFormatQualifier()
1008 case tcu::TextureFormat::R: orderPart = "r"; break; in getShaderImageFormatQualifier()
1009 case tcu::TextureFormat::RG: orderPart = "rg"; break; in getShaderImageFormatQualifier()
1010 case tcu::TextureFormat::RGB: orderPart = "rgb"; break; in getShaderImageFormatQualifier()
1011 case tcu::TextureFormat::RGBA: orderPart = "rgba"; break; in getShaderImageFormatQualifier()
1020 case tcu::TextureFormat::FLOAT: typePart = "32f"; break; in getShaderImageFormatQualifier()
1021 case tcu::TextureFormat::HALF_FLOAT: typePart = "16f"; break; in getShaderImageFormatQualifier()
1023 case tcu::TextureFormat::UNSIGNED_INT32: typePart = "32ui"; break; in getShaderImageFormatQualifier()
1024 case tcu::TextureFormat::UNSIGNED_INT16: typePart = "16ui"; break; in getShaderImageFormatQualifier()
[all …]
/external/deqp/modules/internal/
DditTextureFormatTests.cpp49 using tcu::TextureFormat;
1174 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_formatData) == TextureFormat::CHANNELTYPE_LAST);
1176 TextureFormat getBaseFormat (TextureFormat format) in getBaseFormat()
1178 …const TextureFormat::ChannelOrder baseOrders[] = { TextureFormat::RGBA, TextureFormat::RGB, Textur… in getBaseFormat()
1182 const TextureFormat curBaseFmt (baseOrders[baseOrderNdx], format.type); in getBaseFormat()
1190 ConstPixelBufferAccess getInputAccess (TextureFormat format) in getInputAccess()
1192 const TextureFormat inputFormat = getBaseFormat(format); in getInputAccess()
1203 const deUint32* getRawReference (TextureFormat format);
1206 const deUint32* getRawReference<float> (TextureFormat format) in getRawReference()
1212 const deUint32* getRawReference<deInt32> (TextureFormat format) in getRawReference()
[all …]
/external/deqp/modules/gles2/functional/
Des2fDepthStencilClearTests.cpp90 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()
Des2fReadPixelsTests.cpp66 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/
Des3fDepthStencilClearTests.cpp90 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/texture/
DvktSampleVerifierUtil.cpp654 bool isPackedType (const TextureFormat::ChannelType type) in isPackedType()
656 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 40); in isPackedType()
660 case TextureFormat::UNORM_BYTE_44: in isPackedType()
661 case TextureFormat::UNORM_SHORT_565: in isPackedType()
662 case TextureFormat::UNORM_SHORT_555: in isPackedType()
663 case TextureFormat::UNORM_SHORT_4444: in isPackedType()
664 case TextureFormat::UNORM_SHORT_5551: in isPackedType()
665 case TextureFormat::UNORM_SHORT_1555: in isPackedType()
666 case TextureFormat::UNORM_INT_101010: in isPackedType()
667 case TextureFormat::SNORM_INT_1010102_REV: in isPackedType()
[all …]

123456789