/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 getSampler1DArrayType (tcu::TextureFormat format); 84 DataType getSampler2DArrayType (tcu::TextureFormat format); 85 DataType getSampler3DType (tcu::TextureFormat format); [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeShaderImageLoadStoreTests.cpp | 85 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 …]
|
D | es31fShaderImageLoadStoreTests.cpp | 67 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 …]
|
/external/deqp/framework/common/ |
D | tcuTextureUtil.cpp | 102 bool isSRGB (TextureFormat format) in isSRGB() 105 DE_STATIC_ASSERT(TextureFormat::CHANNELORDER_LAST == 22); 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 …]
|
D | tcuTexture.cpp | 275 inline float channelToFloat (const deUint8* value, TextureFormat::ChannelType type) in channelToFloat() 278 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 48); in channelToFloat() 282 case TextureFormat::SNORM_INT8: return de::max(-1.0f, (float)*((const deInt8*)value) / 127.0f); in channelToFloat() 283 …case TextureFormat::SNORM_INT16: return de::max(-1.0f, (float)*((const deInt16*)value) / 32767.0f… in channelToFloat() 284 …case TextureFormat::SNORM_INT32: return de::max(-1.0f, (float)*((const deInt32*)value) / 21474836… in channelToFloat() 285 case TextureFormat::UNORM_INT8: return (float)*((const deUint8*)value) / 255.0f; in channelToFloat() 286 case TextureFormat::UNORM_INT16: return (float)*((const deUint16*)value) / 65535.0f; in channelToFloat() 287 case TextureFormat::UNORM_INT24: return (float)readUint24(value) / 16777215.0f; in channelToFloat() 288 case TextureFormat::UNORM_INT32: return (float)*((const deUint32*)value) / 4294967295.0f; in channelToFloat() 289 case TextureFormat::SIGNED_INT8: return (float)*((const deInt8*)value); in channelToFloat() [all …]
|
D | tcuImageCompare.cpp | 220 …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 …]
|
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()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageAtomicSpirvShaders.cpp | 6525 CaseVariant::CaseVariant (ImageType imgtype, tcu::TextureFormat::ChannelOrder order, tcu::TextureFo… in CaseVariant() 6536 …ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32, … in getSpirvAtomicOpShader() 6537 …ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32, … in getSpirvAtomicOpShader() 6538 …ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32, Ca… in getSpirvAtomicOpShader() 6539 …ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32, Ca… in getSpirvAtomicOpShader() 6540 …ValueType{CaseVariant{IMAGE_TYPE_1D_ARRAY, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_IN… in getSpirvAtomicOpShader() 6541 …ValueType{CaseVariant{IMAGE_TYPE_1D_ARRAY, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_IN… in getSpirvAtomicOpShader() 6542 …ValueType{CaseVariant{IMAGE_TYPE_1D_ARRAY, tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT3… in getSpirvAtomicOpShader() 6543 …ValueType{CaseVariant{IMAGE_TYPE_1D_ARRAY, tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT3… in getSpirvAtomicOpShader() 6544 …ValueType{CaseVariant{IMAGE_TYPE_2D, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32, … in getSpirvAtomicOpShader() [all …]
|
D | vktImageTestsUtil.cpp | 73 const tcu::TextureFormat& format) in SparseImage() 582 std::string getFormatPrefix (const tcu::TextureFormat& format) in getFormatPrefix() 589 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType, const … in getShaderImageType() 626 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format) in getShaderImageFormatQualifier() 635 case tcu::TextureFormat::R: orderPart = "r"; break; in getShaderImageFormatQualifier() 636 case tcu::TextureFormat::RG: orderPart = "rg"; break; in getShaderImageFormatQualifier() 637 case tcu::TextureFormat::RGB: orderPart = "rgb"; break; in getShaderImageFormatQualifier() 638 case tcu::TextureFormat::RGBA: orderPart = "rgba"; break; in getShaderImageFormatQualifier() 639 case tcu::TextureFormat::sRGBA: orderPart = "rgba"; break; in getShaderImageFormatQualifier() 648 case tcu::TextureFormat::FLOAT: typePart = "32f"; break; in getShaderImageFormatQualifier() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.cpp | 70 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in isDepthStencilFormat() 71 …n tcuFormat.order == tcu::TextureFormat::D || tcuFormat.order == tcu::TextureFormat::S || tcuForma… in isDepthStencilFormat() 78 case tcu::TextureFormat::sR: in isSrgbFormat() 79 case tcu::TextureFormat::sRG: in isSrgbFormat() 80 case tcu::TextureFormat::sRGB: in isSrgbFormat() 81 case tcu::TextureFormat::sRGBA: in isSrgbFormat() 82 case tcu::TextureFormat::sBGR: in isSrgbFormat() 83 case tcu::TextureFormat::sBGRA: in isSrgbFormat() 314 using tcu::TextureFormat; in getYCbCrPlanarFormatDescription() 2655 VkFormat mapTextureFormat (const tcu::TextureFormat& format) in mapTextureFormat() [all …]
|
/external/skia/src/gpu/dawn/ |
D | GrDawnUtil.cpp | 10 size_t GrDawnBytesPerBlock(wgpu::TextureFormat format) { in GrDawnBytesPerBlock() 12 case wgpu::TextureFormat::RGBA8Unorm: in GrDawnBytesPerBlock() 13 case wgpu::TextureFormat::BGRA8Unorm: in GrDawnBytesPerBlock() 15 case wgpu::TextureFormat::R8Unorm: in GrDawnBytesPerBlock() 17 case wgpu::TextureFormat::Depth24PlusStencil8: in GrDawnBytesPerBlock() 24 int GrDawnFormatStencilBits(wgpu::TextureFormat format) { in GrDawnFormatStencilBits() 26 case wgpu::TextureFormat::RGBA8Unorm: in GrDawnFormatStencilBits() 27 case wgpu::TextureFormat::BGRA8Unorm: in GrDawnFormatStencilBits() 28 case wgpu::TextureFormat::R8Unorm: in GrDawnFormatStencilBits() 30 case wgpu::TextureFormat::Depth24PlusStencil8: in GrDawnFormatStencilBits() [all …]
|
D | GrDawnUtil.h | 14 size_t GrDawnBytesPerBlock(wgpu::TextureFormat format); 15 int GrDawnFormatStencilBits(wgpu::TextureFormat format); 16 bool GrDawnFormatIsRenderable(wgpu::TextureFormat format); 17 bool GrColorTypeToDawnFormat(GrColorType colorType, wgpu::TextureFormat* format); 18 bool GrDawnFormatToGrColorType(wgpu::TextureFormat format, GrColorType* colorType); 21 const char* GrDawnFormatToStr(wgpu::TextureFormat format); 24 static constexpr uint32_t GrDawnFormatChannels(wgpu::TextureFormat format) { in GrDawnFormatChannels() 26 case wgpu::TextureFormat::RGBA8Unorm: return kRGBA_SkColorChannelFlags; in GrDawnFormatChannels() 27 case wgpu::TextureFormat::BGRA8Unorm: return kRGBA_SkColorChannelFlags; in GrDawnFormatChannels() 28 case wgpu::TextureFormat::R8Unorm: return kRed_SkColorChannelFlag; in GrDawnFormatChannels()
|
/external/OpenCL-CTS/test_conformance/d3d10/ |
D | harness.cpp | 235 TextureFormat formats[] = 237 …XGI_FORMAT_R32G32B32A32_FLOAT , CL_RGBA , CL_FLOAT , 32, 4, TextureFormat::GENERIC_FLOAT… 238 …XGI_FORMAT_R32G32B32A32_UINT , CL_RGBA , CL_UNSIGNED_INT32 , 32, 4, TextureFormat::GENERIC_UINT … 239 …XGI_FORMAT_R32G32B32A32_SINT , CL_RGBA , CL_SIGNED_INT32 , 32, 4, TextureFormat::GENERIC_SINT … 240 …XGI_FORMAT_R16G16B16A16_FLOAT , CL_RGBA , CL_HALF_FLOAT , 16, 4, TextureFormat::GENERIC_FLOAT… 241 …XGI_FORMAT_R16G16B16A16_UNORM , CL_RGBA , CL_UNORM_INT16 , 16, 4, TextureFormat::GENERIC_FLOAT… 242 …XGI_FORMAT_R16G16B16A16_UINT , CL_RGBA , CL_UNSIGNED_INT16 , 16, 4, TextureFormat::GENERIC_UINT … 243 …XGI_FORMAT_R16G16B16A16_SNORM , CL_RGBA , CL_SNORM_INT16 , 16, 4, TextureFormat::GENERIC_FLOAT… 244 …XGI_FORMAT_R16G16B16A16_SINT , CL_RGBA , CL_SIGNED_INT16 , 16, 4, TextureFormat::GENERIC_SINT … 245 …XGI_FORMAT_R8G8B8A8_UNORM , CL_RGBA , CL_UNORM_INT8 , 8, 4, TextureFormat::GENERIC_FLOAT… [all …]
|
/external/OpenCL-CTS/test_conformance/d3d11/ |
D | harness.cpp | 268 TextureFormat formats[] = 270 …XGI_FORMAT_R32G32B32A32_FLOAT , CL_RGBA , CL_FLOAT , 32, 4, TextureFormat::GENERIC_FLOAT… 271 …XGI_FORMAT_R32G32B32A32_UINT , CL_RGBA , CL_UNSIGNED_INT32 , 32, 4, TextureFormat::GENERIC_UINT … 272 …XGI_FORMAT_R32G32B32A32_SINT , CL_RGBA , CL_SIGNED_INT32 , 32, 4, TextureFormat::GENERIC_SINT … 273 …XGI_FORMAT_R16G16B16A16_FLOAT , CL_RGBA , CL_HALF_FLOAT , 16, 4, TextureFormat::GENERIC_FLOAT… 274 …XGI_FORMAT_R16G16B16A16_UNORM , CL_RGBA , CL_UNORM_INT16 , 16, 4, TextureFormat::GENERIC_FLOAT… 275 …XGI_FORMAT_R16G16B16A16_UINT , CL_RGBA , CL_UNSIGNED_INT16 , 16, 4, TextureFormat::GENERIC_UINT … 276 …XGI_FORMAT_R16G16B16A16_SNORM , CL_RGBA , CL_SNORM_INT16 , 16, 4, TextureFormat::GENERIC_FLOAT… 277 …XGI_FORMAT_R16G16B16A16_SINT , CL_RGBA , CL_SIGNED_INT16 , 16, 4, TextureFormat::GENERIC_SINT … 278 …XGI_FORMAT_R8G8B8A8_UNORM , CL_RGBA , CL_UNORM_INT8 , 8, 4, TextureFormat::GENERIC_FLOAT… [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcNearestEdgeTests.cpp | 77 …static tcu::TextureFormat toTextureFormat (deqp::Context& context, const tcu::PixelFormat& pixelF… 92 const tcu::TextureFormat m_texFormat; 127 tcu::TextureFormat NearestEdgeTestCase::toTextureFormat (deqp::Context& context, const tcu::PixelFo… in toTextureFormat() 132 tcu::TextureFormat texFmt; in toTextureFormat() 135 …{ tcu::PixelFormat(8,8,8,8), tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNOR… in toTextureFormat() 136 …{ tcu::PixelFormat(8,8,8,0), tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNOR… in toTextureFormat() 137 …{ tcu::PixelFormat(4,4,4,4), tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNOR… in toTextureFormat() 138 …{ tcu::PixelFormat(5,5,5,1), tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNOR… in toTextureFormat() 139 …{ tcu::PixelFormat(5,6,5,0), tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNOR… in toTextureFormat() 140 …{ tcu::PixelFormat(10,10,10,2), tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::U… in toTextureFormat() [all …]
|
D | glcShaderMultisampleInterpolationTests.cpp | 217 tcu::TextureFormat const& texFormat, const char* m_sampler, 230 tcu::TextureFormat m_texFormat; 250 …tcu::TextureFormat const& texFormat, const char* sampler, const char* outType, GLfloat min, GLfloa… in ShaderMultisampleInterpolationBaseCase() 299 …if (((m_texFormat.type == tcu::TextureFormat::FLOAT) && (m_texFormat.order == tcu::TextureFormat::… in iterate() 300 …((m_texFormat.type == tcu::TextureFormat::FLOAT) && (m_texFormat.order == tcu::TextureFormat::RG))… in iterate() 301 …((m_texFormat.type == tcu::TextureFormat::FLOAT) && (m_texFormat.order == tcu::TextureFormat::R)) … in iterate() 302 …((m_texFormat.type == tcu::TextureFormat::HALF_FLOAT) && (m_texFormat.order == tcu::TextureFormat:… in iterate() 312 else if (m_texFormat.type == tcu::TextureFormat::SIGNED_INT8 || in iterate() 313 m_texFormat.type == tcu::TextureFormat::UNSIGNED_INT8) in iterate() 481 if (pixels.getFormat().type == tcu::TextureFormat::SIGNED_INT8) in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.hpp | 164 TestTexture (const tcu::TextureFormat& format, int width, int height, int depth); 183 virtual de::MovePtr<TestTexture> copy (const tcu::TextureFormat) const = 0; 185 virtual const tcu::TextureFormat& getTextureFormat (void) const = 0; 206 TestTexture1D (const tcu::TextureFormat& format, int width); 215 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat() 218 virtual de::MovePtr<TestTexture> copy (const tcu::TextureFormat) const; 227 TestTexture1DArray (const tcu::TextureFormat& format, int width, int arraySize); 237 virtual const tcu::TextureFormat& getTextureFormat (void) const { return m_texture.getFormat(); } in getTextureFormat() 240 virtual de::MovePtr<TestTexture> copy (const tcu::TextureFormat) const; 249 TestTexture2D (const tcu::TextureFormat& format, int width, int height); [all …]
|
D | vktPipelineMultisampleTestsUtil.cpp | 244 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 …]
|
D | vktPipelineBlendTests.cpp | 867 float getNormChannelThreshold (const tcu::TextureFormat& format, int numBits) in getNormChannelThreshold() 881 tcu::Vec4 getFormatThreshold (const tcu::TextureFormat& format) in getFormatThreshold() 884 using tcu::TextureFormat; in getFormatThreshold() 890 case TextureFormat::UNORM_BYTE_44: in getFormatThreshold() 894 case TextureFormat::UNORM_SHORT_565: in getFormatThreshold() 898 case TextureFormat::UNORM_SHORT_555: in getFormatThreshold() 902 case TextureFormat::UNORM_SHORT_4444: in getFormatThreshold() 906 case TextureFormat::UNORM_SHORT_5551: in getFormatThreshold() 910 case TextureFormat::UNORM_INT_1010102_REV: in getFormatThreshold() 911 case TextureFormat::SNORM_INT_1010102_REV: in getFormatThreshold() [all …]
|
/external/deqp/modules/internal/ |
D | ditTextureFormatTests.cpp | 49 using tcu::TextureFormat; 1220 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_formatData) == TextureFormat::CHANNELTYPE_LAST); 1222 TextureFormat getBaseFormat (TextureFormat format) in getBaseFormat() 1224 …const TextureFormat::ChannelOrder baseOrders[] = { TextureFormat::RGBA, TextureFormat::RGB, Textur… in getBaseFormat() 1228 const TextureFormat curBaseFmt (baseOrders[baseOrderNdx], format.type); in getBaseFormat() 1236 ConstPixelBufferAccess getInputAccess (TextureFormat format) in getInputAccess() 1238 const TextureFormat inputFormat = getBaseFormat(format); in getInputAccess() 1249 const deUint32* getRawReference (TextureFormat format); 1252 const deUint32* getRawReference<float> (TextureFormat format) in getRawReference() 1258 const deUint32* getRawReference<deInt32> (TextureFormat format) in getRawReference() [all …]
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cSampleShadingTests.cpp | 170 GLenum internalFormat, tcu::TextureFormat const& texFormat, const char* m_sampler, 181 tcu::TextureFormat m_texFormat; 202 tcu::TextureFormat const& texFormat, const char* sampler, in SampleShadingRenderCase() 244 …if (((m_texFormat.type == tcu::TextureFormat::FLOAT) && (m_texFormat.order == tcu::TextureFormat::… in iterate() 245 …((m_texFormat.type == tcu::TextureFormat::FLOAT) && (m_texFormat.order == tcu::TextureFormat::RG))… in iterate() 246 …((m_texFormat.type == tcu::TextureFormat::FLOAT) && (m_texFormat.order == tcu::TextureFormat::R)) … in iterate() 247 …((m_texFormat.type == tcu::TextureFormat::HALF_FLOAT) && (m_texFormat.order == tcu::TextureFormat:… in iterate() 256 else if (m_texFormat.type == tcu::TextureFormat::SIGNED_INT8 || in iterate() 257 m_texFormat.type == tcu::TextureFormat::UNSIGNED_INT8) in iterate() 398 if (pixels.getFormat().type == tcu::TextureFormat::SIGNED_INT8) in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.cpp | 655 bool isPackedType (const TextureFormat::ChannelType type) in isPackedType() 657 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 48); in isPackedType() 661 case TextureFormat::UNORM_BYTE_44: in isPackedType() 662 case TextureFormat::UNORM_SHORT_565: in isPackedType() 663 case TextureFormat::UNORM_SHORT_555: in isPackedType() 664 case TextureFormat::UNORM_SHORT_4444: in isPackedType() 665 case TextureFormat::UNORM_SHORT_5551: in isPackedType() 666 case TextureFormat::UNORM_SHORT_1555: in isPackedType() 667 case TextureFormat::UNORM_INT_101010: in isPackedType() 668 case TextureFormat::SNORM_INT_1010102_REV: in isPackedType() [all …]
|
/external/angle/src/common/ |
D | PackedEGLEnums_autogen.cpp | 262 TextureFormat FromEGLenum<TextureFormat>(EGLenum from) in FromEGLenum() 267 return TextureFormat::NoTexture; in FromEGLenum() 269 return TextureFormat::RGB; in FromEGLenum() 271 return TextureFormat::RGBA; in FromEGLenum() 273 return TextureFormat::InvalidEnum; in FromEGLenum() 277 EGLenum ToEGLenum(TextureFormat from) in ToEGLenum() 281 case TextureFormat::NoTexture: in ToEGLenum() 283 case TextureFormat::RGB: in ToEGLenum() 285 case TextureFormat::RGBA: in ToEGLenum() 293 std::ostream &operator<<(std::ostream &os, TextureFormat value) in operator <<() [all …]
|