HomeSort by relevance Sort by last modified time
    Searched refs:TextureFormat (Results 1 - 25 of 175) sorted by null

1 2 3 4 5 6 7

  /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 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;
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...]
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...]
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...]
gluFboRenderContext.cpp 38 static int getNumDepthBits (const tcu::TextureFormat& format)
40 if (format.order == tcu::TextureFormat::DS)
42 const tcu::TextureFormat depthOnlyFormat = tcu::getEffectiveDepthStencilTextureFormat(format, tcu::Sampler::MODE_DEPTH);
45 else if (format.order == tcu::TextureFormat::D)
51 static int getNumStencilBits (const tcu::TextureFormat& format)
53 if (format.order == tcu::TextureFormat::DS)
55 const tcu::TextureFormat stencilOnlyFormat = tcu::getEffectiveDepthStencilTextureFormat(format, tcu::Sampler::MODE_STENCIL);
58 else if (format.order == tcu::TextureFormat::S)
72 const tcu::TextureFormat combinedFormat = glu::mapGLInternalFormat(depthStencilFormat);
134 const tcu::TextureFormat combinedFormat = glu::mapGLInternalFormat(format)
    [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/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 bool isCombinedDepthStencilType (TextureFormat::ChannelType type)
118 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 38)
    [all...]
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...]
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 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...]
tcuImageIO.cpp 107 TextureFormat textureFormat;
114 textureFormat = TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8);
116 textureFormat = TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8)
    [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));
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...]
  /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...]
vktSparseResourcesTestsUtil.cpp 606 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType)
631 std::string getShaderImageDataType(const tcu::TextureFormat& format)
648 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format)
655 case tcu::TextureFormat::R: orderPart = "r"; break;
656 case tcu::TextureFormat::RG: orderPart = "rg"; break;
657 case tcu::TextureFormat::RGB: orderPart = "rgb"; break;
658 case tcu::TextureFormat::RGBA: orderPart = "rgba"; break;
667 case tcu::TextureFormat::FLOAT: typePart = "32f"; break;
668 case tcu::TextureFormat::HALF_FLOAT: typePart = "16f"; break;
670 case tcu::TextureFormat::UNSIGNED_INT32: typePart = "32ui"; break
    [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...]
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...]
  /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...]

Completed in 624 milliseconds

1 2 3 4 5 6 7