/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.hpp | 101 tcu::Vec4 w; //!< w coordinates for quad vertices. 106 tcu::Vec4 colorScale; //!< Scale for texture color values. 107 tcu::Vec4 colorBias; //!< Bias for texture color values. 133 …ReferenceParams (TextureType texType_, const tcu::Sampler& sampler_, LodMode lodMode_ = LODMODE_EX… in ReferenceParams() 145 tcu::Sampler sampler; 155 SamplerType getSamplerType (tcu::TextureFormat format); 156 SamplerType getFetchSamplerType (tcu::TextureFormat format); 159 …re (const tcu::SurfaceAccess& dst, const tcu::ConstPixelBufferAccess& src, const float* texCoor… 161 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::Texture2DView& src, const float… 162 void sampleTexture (const tcu::SurfaceAccess& dst, const tcu::TextureCubeView& src, const flo… [all …]
|
D | gluTextureUtil.cpp | 46 TransferFormat getTransferFormat (tcu::TextureFormat texFormat) in getTransferFormat() 48 using tcu::TextureFormat; in getTransferFormat() 125 throw tcu::InternalError("Can't map texture format to GL transfer format"); in getTransferFormat() 140 deUint32 getInternalFormat (tcu::TextureFormat texFormat) in getInternalFormat() 142 DE_STATIC_ASSERT(tcu::TextureFormat::CHANNELORDER_LAST < (1<<16)); in getInternalFormat() 143 DE_STATIC_ASSERT(tcu::TextureFormat::CHANNELTYPE_LAST < (1<<16)); in getInternalFormat() 146 #define FMT_CASE(ORDER, TYPE) PACK_FMT(tcu::TextureFormat::ORDER, tcu::TextureFormat::TYPE) in getInternalFormat() 224 throw tcu::InternalError("Can't map texture format to GL internal format"); in getInternalFormat() 237 deUint32 getGLFormat (tcu::CompressedTexFormat format) in getGLFormat() 241 case tcu::COMPRESSEDTEXFORMAT_ETC1_RGB8: return GL_ETC1_RGB8_OES; in getGLFormat() [all …]
|
D | gluTextureTestUtil.cpp | 51 SamplerType getSamplerType (tcu::TextureFormat format) in getSamplerType() 53 using tcu::TextureFormat; in getSamplerType() 77 SamplerType getFetchSamplerType (tcu::TextureFormat format) in getFetchSamplerType() 79 using tcu::TextureFormat; in getFetchSamplerType() 103 static tcu::Texture1DView getSubView (const tcu::Texture1DView& view, int baseLevel, int maxLevel) in getSubView() 108 return tcu::Texture1DView(numLevels, view.getLevels()+clampedBase); in getSubView() 111 static tcu::Texture2DView getSubView (const tcu::Texture2DView& view, int baseLevel, int maxLevel) in getSubView() 116 return tcu::Texture2DView(numLevels, view.getLevels()+clampedBase); in getSubView() 119 static tcu::TextureCubeView getSubView (const tcu::TextureCubeView& view, int baseLevel, int maxLev… in getSubView() 124 const tcu::ConstPixelBufferAccess* levels[tcu::CUBEFACE_LAST]; in getSubView() [all …]
|
D | gluStrUtilPrototypes.inl | 78 tcu::Format::Bitfield<16> getBufferMaskStr (int value); 79 tcu::Format::Bitfield<16> getBufferMapFlagsStr (int value); 80 tcu::Format::Bitfield<16> getMemoryBarrierFlagsStr (int value); 81 tcu::Format::Bitfield<16> getShaderTypeMaskStr (int value); 82 inline tcu::Format::Enum<int, 2> getErrorStr (int value) { return tcu::Format::Enum<int, 2>… 83 inline tcu::Format::Enum<int, 2> getTypeStr (int value) { return tcu::Format::Enum<int, 2>(… 84 inline tcu::Format::Enum<int, 2> getParamQueryStr (int value) { return tcu::Format::Enum<int,… 85 inline tcu::Format::Enum<int, 2> getProgramParamStr (int value) { return tcu::Format::Enum<in… 86 inline tcu::Format::Enum<int, 2> getUniformParamStr (int value) { return tcu::Format::Enum<in… 87 inline tcu::Format::Enum<int, 2> getFramebufferAttachmentStr (int value) { return tcu::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 | es31fTextureBorderClampTests.cpp | 93 bool isDepthFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode) in isDepthFormat() 107 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); in isDepthFormat() 109 if (fmt.order == tcu::TextureFormat::D) in isDepthFormat() 111 DE_ASSERT(mode == tcu::Sampler::MODE_DEPTH); in isDepthFormat() 114 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_DEPTH) in isDepthFormat() 121 bool isStencilFormat (deUint32 format, tcu::Sampler::DepthStencilMode mode) in isStencilFormat() 135 const tcu::TextureFormat fmt = glu::mapGLInternalFormat(format); in isStencilFormat() 137 if (fmt.order == tcu::TextureFormat::S) in isStencilFormat() 139 DE_ASSERT(mode == tcu::Sampler::MODE_STENCIL); in isStencilFormat() 142 else if (fmt.order == tcu::TextureFormat::DS && mode == tcu::Sampler::MODE_STENCIL) in isStencilFormat() [all …]
|
D | es31fShaderFramebufferFetchTests.cpp | 57 using tcu::TestLog; 65 throw tcu::NotSupportedError(string(extName) + " not supported"); in checkExtensionSupport() 122 tcu::TextureFormat getReadPixelFormat (const tcu::TextureFormat& format) in getReadPixelFormat() 124 switch (tcu::getTextureChannelClass(format.type)) in getReadPixelFormat() 126 case tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER: in getReadPixelFormat() 127 return tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32); in getReadPixelFormat() 129 case tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER: in getReadPixelFormat() 130 return tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32); in getReadPixelFormat() 132 case tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT: in getReadPixelFormat() 133 case tcu::TEXTURECHANNELCLASS_SIGNED_FIXED_POINT: in getReadPixelFormat() [all …]
|
D | es31fSampleVariableTests.cpp | 56 virtual bool verify (const tcu::RGBA& testColor, const tcu::IVec2& position) const = 0; 57 virtual void logInfo (tcu::TestLog& log) const = 0; 63 ColorVerifier (const tcu::Vec3& _color, int _threshold = 8) in ColorVerifier() 64 : m_color (tcu::Vec4(_color.x(), _color.y(), _color.z(), 1.0f)) in ColorVerifier() 65 , m_threshold (tcu::IVec3(_threshold)) in ColorVerifier() 69 ColorVerifier (const tcu::Vec3& _color, tcu::IVec3 _threshold) in ColorVerifier() 70 : m_color (tcu::Vec4(_color.x(), _color.y(), _color.z(), 1.0f)) in ColorVerifier() 75 bool verify (const tcu::RGBA& testColor, const tcu::IVec2& position) const in verify() 78 …return !tcu::boolAny(tcu::greaterThan(tcu::abs(m_color.toIVec().swizzle(0, 1, 2) - testColor.toIVe… in verify() 81 void logInfo (tcu::TestLog& log) const in logInfo() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemFillUpdateCopyBufferTests.cpp | 83 virtual tcu::TestStatus iterate (void); 97 FillUpdateCopyBufferTestCase (tcu::TestContext& testCtx, in FillUpdateCopyBufferTestCase() 142 tcu::TestStatus FillUpdateCopyBufferTestInstance<T>::iterate() in iterate() 289 << tcu::TestLog::Message << "Fill value: " << m_fillValue << tcu::TestLog::EndMessage; in iterate() 293 return tcu::TestStatus::pass("Everything went OK"); in iterate() 295 return tcu::TestStatus::fail("Something went really wrong"); in iterate() 298 tcu::TestCaseGroup* createFillUpdateCopyBufferFloatTests (tcu::TestContext& testCtx, CmdType cmdTyp… in createFillUpdateCopyBufferFloatTests() 309 { tcu::IVec4(1), tcu::IVec4(2), tcu::IVec4(3), tcu::IVec4(4) }, in createFillUpdateCopyBufferFloatTests() 310 { tcu::Vec4(3.2f), tcu::Vec4(3.2f), tcu::Vec4(3.2f), tcu::Vec4(3.2f) } in createFillUpdateCopyBufferFloatTests() 315 { tcu::IVec4(5), tcu::IVec4(6), tcu::IVec4(7), tcu::IVec4(8) }, in createFillUpdateCopyBufferFloatTests() [all …]
|
D | vktProtectedMemAttachmentLoadTests.cpp | 63 virtual tcu::TestStatus iterate (void); 76 AttachmentLoadTestCase (tcu::TestContext& testCtx, in AttachmentLoadTestCase() 113 tcu::TestStatus AttachmentLoadTestInstance::iterate() in iterate() 211 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearValue.color.float32) << tcu:… in iterate() 212 …<< tcu::TestLog::Message << "Depth clear value: " << m_clearValue.depthStencil.depth << tcu::TestL… in iterate() 213 …<< tcu::TestLog::Message << "Stencil clear value: " << m_clearValue.depthStencil.stencil << tcu::T… in iterate() 217 return tcu::TestStatus::pass("Everything went OK"); in iterate() 219 return tcu::TestStatus::fail("Something went really wrong"); in iterate() 224 tcu::TestCaseGroup* createAttachmentLoadTests (tcu::TestContext& testCtx) in createAttachmentLoadTests() 232 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createAttachmentLoadTests() [all …]
|
D | vktProtectedMemClearColorImageTests.cpp | 63 virtual tcu::TestStatus iterate (void); 76 ClearColorImageTestCase (tcu::TestContext& testCtx, in ClearColorImageTestCase() 118 tcu::TestStatus ClearColorImageTestInstance::iterate() in iterate() 233 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate() 237 return tcu::TestStatus::pass("Everything went OK"); in iterate() 239 return tcu::TestStatus::fail("Something went really wrong"); in iterate() 242 tcu::TestCaseGroup* createClearColorImageTests (tcu::TestContext& testCtx, CmdBufferType cmdBufferT… in createClearColorImageTests() 250 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createClearColorImageTests() 251 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createClearColorImageTests() 252 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createClearColorImageTests() [all …]
|
D | vktProtectedMemAttachmentClearTests.cpp | 63 virtual tcu::TestStatus iterate (void); 77 AttachmentClearTestCase (tcu::TestContext& testCtx, in AttachmentClearTestCase() 119 tcu::TestStatus AttachmentClearTestInstance::iterate() in iterate() 179 const tcu::Vec4 clearValue (m_clearValue.color.float32[0] < 0.5f ? 1.0f : 0.0f, in iterate() 269 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearValue.color.float32) << tcu:… in iterate() 270 …<< tcu::TestLog::Message << "Depth clear value: " << m_clearValue.depthStencil.depth << tcu::TestL… in iterate() 271 …<< tcu::TestLog::Message << "Stencil clear value: " << m_clearValue.depthStencil.stencil << tcu::T… in iterate() 275 return tcu::TestStatus::pass("Everything went OK"); in iterate() 277 return tcu::TestStatus::fail("Something went really wrong"); in iterate() 280 tcu::TestCaseGroup* createAttachmentClearTests (tcu::TestContext& testCtx, CmdBufferType cmdBufferT… in createAttachmentClearTests() [all …]
|
D | vktProtectedMemCopyBufferToImageTests.cpp | 64 virtual tcu::TestStatus iterate (void); 77 CopyBufferToImageTestCase (tcu::TestContext& testCtx, in CopyBufferToImageTestCase() 120 tcu::TestStatus CopyBufferToImageTestInstance::iterate() in iterate() 300 << tcu::TestLog::Message << "Fill value: " << m_fillValue << tcu::TestLog::EndMessage; in iterate() 304 return tcu::TestStatus::pass("Everything went OK"); in iterate() 306 return tcu::TestStatus::fail("Something went really wrong"); in iterate() 309 tcu::TestCaseGroup* createCopyBufferToImageTests (tcu::TestContext& testCtx, CmdBufferType cmdBuffe… in createCopyBufferToImageTests() 320 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyBufferToImageTests() 321 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyBufferToImageTests() 322 { tcu::Vec4(0.0f), tcu::Vec4(0.0f), in createCopyBufferToImageTests() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fClippingTests.cpp | 50 using tcu::PixelBufferAccess; 51 using tcu::ConstPixelBufferAccess; 52 using tcu::TestLog; 54 static const tcu::Vec4 MASK_COLOR_OK = tcu::Vec4(0.0f, 0.1f, 0.0f, 1.0f); 55 static const tcu::Vec4 MASK_COLOR_DEV = tcu::Vec4(0.8f, 0.5f, 0.0f, 1.0f); 56 static const tcu::Vec4 MASK_COLOR_FAIL = tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f); 83 inline bool isBlack (const tcu::IVec4& a) in isBlack() 88 inline bool isHalfFilled (const tcu::IVec4& a) in isHalfFilled() 90 const tcu::IVec4 halfFilled (127, 0, 0, 0); in isHalfFilled() 91 const tcu::IVec4 threshold (20, 256, 256, 256); in isHalfFilled() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fClippingTests.cpp | 50 using tcu::PixelBufferAccess; 51 using tcu::ConstPixelBufferAccess; 52 using tcu::TestLog; 54 static const tcu::Vec4 MASK_COLOR_OK = tcu::Vec4(0.0f, 0.1f, 0.0f, 1.0f); 55 static const tcu::Vec4 MASK_COLOR_DEV = tcu::Vec4(0.8f, 0.5f, 0.0f, 1.0f); 56 static const tcu::Vec4 MASK_COLOR_FAIL = tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f); 80 inline bool isBlack (const tcu::IVec4& a) in isBlack() 85 inline bool isHalfFilled (const tcu::IVec4& a) in isHalfFilled() 87 const tcu::IVec4 halfFilled (127, 0, 0, 0); in isHalfFilled() 88 const tcu::IVec4 threshold (20, 256, 256, 256); in isHalfFilled() [all …]
|
D | es2fRasterizationTests.cpp | 51 using tcu::RasterizationArguments; 52 using tcu::TriangleSceneSpec; 53 using tcu::PointSceneSpec; 54 using tcu::LineSceneSpec; 55 using tcu::LineInterpolationMethod; 95 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLe… 96 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const st… 131 …throw tcu::NotSupportedError(std::string("Render target size must be at least ") + de::toString(m_… in init() 139 …throw tcu::NotSupportedError(std::string("Support for line width ") + de::toString(m_lineWidth) + … in init() 141 …m_testCtx.getLog() << tcu::TestLog::Message << "ALIASED_LINE_WIDTH_RANGE = [" << range[0] << ", " … in init() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.hpp | 69 tcu::Vec4& lookupScale, 70 tcu::Vec4& lookupBias); 79 de::MovePtr<tcu::TextureLevel> readColorAttachment (const vk::DeviceInterface& vk, 86 const tcu::UVec2& renderSize); 125 TestTexture (const tcu::TextureFormat& format, int width, int height, int depth); 126 … TestTexture (const tcu::CompressedTexFormat& format, int width, int height, int depth); 136 virtual tcu::PixelBufferAccess getLevel (int level, int layer) = 0; 137 virtual const tcu::ConstPixelBufferAccess getLevel (int level, int layer) const = 0; 139 virtual tcu::CompressedTexture& getCompressedLevel (int level, int layer); 140 virtual const tcu::CompressedTexture& getCompressedLevel (int level, int layer) const; [all …]
|
D | vktPipelineImageSamplingInstance.cpp | 133 …teTestTexture (const TcuFormatType format, VkImageViewType viewType, const tcu::IVec3& size, int l… in createTestTexture() 157 if (layerCount == tcu::CUBEFACE_LAST && viewType == VK_IMAGE_VIEW_TYPE_CUBE) in createTestTexture() 163 DE_ASSERT(layerCount % tcu::CUBEFACE_LAST == 0); in createTestTexture() 190 const tcu::UVec2& renderSize, in ImageSamplingInstance() 193 const tcu::IVec3& imageSize, in ImageSamplingInstance() 234 …throw tcu::NotSupportedError(std::string("Unsupported format for sampling: ") + getFormatName(imag… in ImageSamplingInstance() 237 …throw tcu::NotSupportedError(std::string("Unsupported render target count: ") + de::toString(image… in ImageSamplingInstance() 243 …throw tcu::NotSupportedError(std::string("Unsupported format for linear filtering: ") + getFormatN… in ImageSamplingInstance() 256 …throw tcu::NotSupportedError(std::string("Unsupported format for min/max filtering: ") + getFormat… in ImageSamplingInstance() 278 m_componentMask = tcu::BVec4(true, false, false, false); in ImageSamplingInstance() [all …]
|
/external/deqp/external/openglcts/modules/ |
D | glcTestPackageRegistry.cpp | 76 static tcu::TestPackage* createConfigPackage(tcu::TestContext& testCtx) in createConfigPackage() 81 static tcu::TestPackage* createES2Package(tcu::TestContext& testCtx) in createES2Package() 87 static tcu::TestPackage* createdEQPEGLPackage(tcu::TestContext& testCtx) in createdEQPEGLPackage() 94 static tcu::TestPackage* createdEQPES2Package(tcu::TestContext& testCtx) in createdEQPES2Package() 101 static tcu::TestPackage* createES2GTFPackage(tcu::TestContext& testCtx) in createES2GTFPackage() 107 static tcu::TestPackage* createES30Package(tcu::TestContext& testCtx) in createES30Package() 113 static tcu::TestPackage* createdEQPES30Package(tcu::TestContext& testCtx) in createdEQPES30Package() 120 static tcu::TestPackage* createES30GTFPackage(tcu::TestContext& testCtx) in createES30GTFPackage() 127 static tcu::TestPackage* createdEQPES31Package(tcu::TestContext& testCtx) in createdEQPES31Package() 132 static tcu::TestPackage* createES31Package(tcu::TestContext& testCtx) in createES31Package() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.hpp | 47 tcu::Vec2 calcLodBounds (const tcu::Vec3& dPdx, 48 const tcu::Vec3& dPdy, 49 const tcu::IVec3 size, 53 tcu::UVec2 calcLevelBounds (const tcu::Vec2& lodBounds, 56 tcu::Vec2 calcLevelLodBounds (const tcu::Vec2& lodBounds, 59 void wrapTexelGridCoordLinear (tcu::IVec3& baseTexel, 60 tcu::IVec3& texelGridOffset, 63 void calcTexelBaseOffset (const tcu::IVec3& gridCoord, 65 tcu::IVec3& baseTexel, 66 tcu::IVec3& texelGridOffset); [all …]
|
D | vktSampleVerifier.hpp | 45 tcu::Vec4 coord; 46 tcu::Vec4 dPdx; 47 tcu::Vec4 dPdy; 115 tcu::IVec3 size; 130 const tcu::FloatFormat& conversionPrecision, 131 const tcu::FloatFormat& filteringPrecision, 132 const std::vector<tcu::ConstPixelBufferAccess>& levels); 135 const tcu::Vec4& result) const; 138 const tcu::Vec4& result, 143 bool verifySampleFiltered (const tcu::Vec4& result, [all …]
|
/external/deqp/framework/common/ |
D | tcuRasterizationVerifier.cpp | 37 namespace tcu namespace 42 …rsect (const tcu::Vector<deInt64, 2>& line0Beg, const tcu::Vector<deInt64, 2>& line0End, const tcu… in lineLineIntersect() 44 typedef tcu::Vector<deInt64, 2> I64Vec2; in lineLineIntersect() 80 bool isTriangleClockwise (const tcu::Vec4& p0, const tcu::Vec4& p1, const tcu::Vec4& p2) in isTriangleClockwise() 82 const tcu::Vec2 u (p1.x() / p1.w() - p0.x() / p0.w(), p1.y() / p1.w() - p0.y() / p0.w()); in isTriangleClockwise() 83 const tcu::Vec2 v (p2.x() / p2.w() - p0.x() / p0.w(), p2.y() / p2.w() - p0.y() / p0.w()); in isTriangleClockwise() 89 bool compareColors (const tcu::RGBA& colorA, const tcu::RGBA& colorB, int redBits, int greenBits, i… in compareColors() 100 bool pixelNearLineSegment (const tcu::IVec2& pixel, const tcu::Vec2& p0, const tcu::Vec2& p1) in pixelNearLineSegment() 102 const tcu::Vec2 pixelCenterPosition = tcu::Vec2((float)pixel.x() + 0.5f, (float)pixel.y() + 0.5f); in pixelNearLineSegment() 110 const tcu::Vec2 line = p1 - p0; in pixelNearLineSegment() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesShaderIntrinsics.cpp | 34 tcu::TestCaseGroup* createSparseResourcesShaderIntrinsicsTests (tcu::TestContext& testCtx) in createSparseResourcesShaderIntrinsicsTests() 36 …de::MovePtr<tcu::TestCaseGroup> testGroup(new tcu::TestCaseGroup(testCtx, "shader_intrinsics", "Sp… in createSparseResourcesShaderIntrinsicsTests() 43 tcu::UVec3 imageSizes[sizeCountPerImageType]; in createSparseResourcesShaderIntrinsicsTests() 48 …{ IMAGE_TYPE_2D, { tcu::UVec3(512u, 256u, 1u), tcu::UVec3(128u, 128u, 1u), tcu::UVec3(503u, 137u,… in createSparseResourcesShaderIntrinsicsTests() 49 …{ IMAGE_TYPE_2D_ARRAY, { tcu::UVec3(512u, 256u, 6u), tcu::UVec3(128u, 128u, 8u), tcu::UVec3(503u, … in createSparseResourcesShaderIntrinsicsTests() 50 …{ IMAGE_TYPE_CUBE, { tcu::UVec3(256u, 256u, 1u), tcu::UVec3(128u, 128u, 1u), tcu::UVec3(137u, 137… in createSparseResourcesShaderIntrinsicsTests() 51 …{ IMAGE_TYPE_CUBE_ARRAY,{ tcu::UVec3(256u, 256u, 6u), tcu::UVec3(128u, 128u, 8u), tcu::UVec3(137u,… in createSparseResourcesShaderIntrinsicsTests() 52 …{ IMAGE_TYPE_3D, { tcu::UVec3(256u, 256u, 16u), tcu::UVec3(128u, 128u, 8u), tcu::UVec3(503u, 137u… in createSparseResourcesShaderIntrinsicsTests() 55 static const tcu::TextureFormat formats[] = in createSparseResourcesShaderIntrinsicsTests() 57 tcu::TextureFormat(tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32), in createSparseResourcesShaderIntrinsicsTests() [all …]
|
D | vktSparseResourcesImageAlignedMipSize.cpp | 59 ImageAlignedMipSizeCase (tcu::TestContext& testCtx, 63 const tcu::UVec3& imageSize, 64 const tcu::TextureFormat& format); 71 const tcu::UVec3 m_imageSize; 72 const tcu::TextureFormat m_format; 75 ImageAlignedMipSizeCase::ImageAlignedMipSizeCase (tcu::TestContext& testCtx, in ImageAlignedMipSizeCase() 79 const tcu::UVec3& imageSize, in ImageAlignedMipSizeCase() 80 const tcu::TextureFormat& format) in ImageAlignedMipSizeCase() 93 const tcu::UVec3& imageSize, 94 const tcu::TextureFormat& format); [all …]
|
/external/deqp/modules/internal/ |
D | ditImageCompareTests.cpp | 39 using tcu::TestLog; 43 static void loadImageRGBA8 (tcu::TextureLevel& dst, const tcu::Archive& archive, const char* path) in loadImageRGBA8() 45 tcu::TextureLevel tmp; in loadImageRGBA8() 46 tcu::ImageIO::loadImage(tmp, archive, path); in loadImageRGBA8() 48 …dst.setStorage(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), tmp.g… in loadImageRGBA8() 49 tcu::copy(dst, tmp); in loadImageRGBA8() 52 class FuzzyComparisonMetricCase : public tcu::TestCase 55 …FuzzyComparisonMetricCase (tcu::TestContext& testCtx, const char* name, const char* refImg, const … in FuzzyComparisonMetricCase() 56 : tcu::TestCase (testCtx, name, "") in FuzzyComparisonMetricCase() 66 tcu::TextureLevel refImg; in iterate() [all …]
|