Home
last modified time | relevance | path

Searched refs:tcu (Results 1 – 25 of 2063) sorted by relevance

12345678910>>...83

/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp101 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 …]
DgluTextureUtil.cpp46 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 …]
DgluTextureTestUtil.cpp51 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, view.isES2()); 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 …]
DgluStrUtilPrototypes.inl78 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/
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 …]
Des31fTextureBorderClampTests.cpp93 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 …]
Des31fShaderFramebufferFetchTests.cpp57 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 …]
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemFillUpdateCopyBufferTests.cpp83 virtual tcu::TestStatus iterate (void);
97 FillUpdateCopyBufferTestCase (tcu::TestContext& testCtx, in FillUpdateCopyBufferTestCase()
147 tcu::TestStatus FillUpdateCopyBufferTestInstance<T>::iterate() in iterate()
294 << tcu::TestLog::Message << "Fill value: " << m_fillValue << tcu::TestLog::EndMessage; in iterate()
298 return tcu::TestStatus::pass("Everything went OK"); in iterate()
300 return tcu::TestStatus::fail("Something went really wrong"); in iterate()
303 tcu::TestCaseGroup* createFillUpdateCopyBufferFloatTests (tcu::TestContext& testCtx, CmdType cmdTyp… in createFillUpdateCopyBufferFloatTests()
314 { tcu::IVec4(1), tcu::IVec4(2), tcu::IVec4(3), tcu::IVec4(4) }, in createFillUpdateCopyBufferFloatTests()
315 { tcu::Vec4(3.2f), tcu::Vec4(3.2f), tcu::Vec4(3.2f), tcu::Vec4(3.2f) } in createFillUpdateCopyBufferFloatTests()
320 { tcu::IVec4(5), tcu::IVec4(6), tcu::IVec4(7), tcu::IVec4(8) }, in createFillUpdateCopyBufferFloatTests()
[all …]
DvktProtectedMemAttachmentLoadTests.cpp64 virtual tcu::TestStatus iterate (void);
77 AttachmentLoadTestCase (tcu::TestContext& testCtx, in AttachmentLoadTestCase()
118 tcu::TestStatus AttachmentLoadTestInstance::iterate() in iterate()
216 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearValue.color.float32) << tcu:… in iterate()
217 …<< tcu::TestLog::Message << "Depth clear value: " << m_clearValue.depthStencil.depth << tcu::TestL… in iterate()
218 …<< tcu::TestLog::Message << "Stencil clear value: " << m_clearValue.depthStencil.stencil << tcu::T… in iterate()
222 return tcu::TestStatus::pass("Everything went OK"); in iterate()
224 return tcu::TestStatus::fail("Something went really wrong"); in iterate()
229 tcu::TestCaseGroup* createAttachmentLoadTests (tcu::TestContext& testCtx) in createAttachmentLoadTests()
237 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createAttachmentLoadTests()
[all …]
DvktProtectedMemClearColorImageTests.cpp64 virtual tcu::TestStatus iterate (void);
77 ClearColorImageTestCase (tcu::TestContext& testCtx, in ClearColorImageTestCase()
123 tcu::TestStatus ClearColorImageTestInstance::iterate() in iterate()
238 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate()
242 return tcu::TestStatus::pass("Everything went OK"); in iterate()
244 return tcu::TestStatus::fail("Something went really wrong"); in iterate()
247 tcu::TestCaseGroup* createClearColorImageTests (tcu::TestContext& testCtx, CmdBufferType cmdBufferT… in createClearColorImageTests()
255 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createClearColorImageTests()
256 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createClearColorImageTests()
257 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createClearColorImageTests()
[all …]
DvktProtectedMemAttachmentClearTests.cpp64 virtual tcu::TestStatus iterate (void);
78 AttachmentClearTestCase (tcu::TestContext& testCtx, in AttachmentClearTestCase()
124 tcu::TestStatus AttachmentClearTestInstance::iterate() in iterate()
184 const tcu::Vec4 clearValue (m_clearValue.color.float32[0] < 0.5f ? 1.0f : 0.0f, in iterate()
274 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearValue.color.float32) << tcu:… in iterate()
275 …<< tcu::TestLog::Message << "Depth clear value: " << m_clearValue.depthStencil.depth << tcu::TestL… in iterate()
276 …<< tcu::TestLog::Message << "Stencil clear value: " << m_clearValue.depthStencil.stencil << tcu::T… in iterate()
280 return tcu::TestStatus::pass("Everything went OK"); in iterate()
282 return tcu::TestStatus::fail("Something went really wrong"); in iterate()
285 tcu::TestCaseGroup* createAttachmentClearTests (tcu::TestContext& testCtx, CmdBufferType cmdBufferT… in createAttachmentClearTests()
[all …]
DvktProtectedMemCopyBufferToImageTests.cpp65 virtual tcu::TestStatus iterate (void);
78 CopyBufferToImageTestCase (tcu::TestContext& testCtx, in CopyBufferToImageTestCase()
125 tcu::TestStatus CopyBufferToImageTestInstance::iterate() in iterate()
305 << tcu::TestLog::Message << "Fill value: " << m_fillValue << tcu::TestLog::EndMessage; in iterate()
309 return tcu::TestStatus::pass("Everything went OK"); in iterate()
311 return tcu::TestStatus::fail("Something went really wrong"); in iterate()
314 tcu::TestCaseGroup* createCopyBufferToImageTests (tcu::TestContext& testCtx, CmdBufferType cmdBuffe… in createCopyBufferToImageTests()
325 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyBufferToImageTests()
326 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyBufferToImageTests()
327 { tcu::Vec4(0.0f), tcu::Vec4(0.0f), in createCopyBufferToImageTests()
[all …]
DvktProtectedMemCopyImageTests.cpp64 virtual tcu::TestStatus iterate (void);
77 CopyImageTestCase (tcu::TestContext& testCtx, in CopyImageTestCase()
123 tcu::TestStatus CopyImageTestInstance::iterate() in iterate()
343 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate()
347 return tcu::TestStatus::pass("Everything went OK"); in iterate()
349 return tcu::TestStatus::fail("Something went really wrong"); in iterate()
352 tcu::TestCaseGroup* createCopyImageTests (tcu::TestContext& testCtx, CmdBufferType cmdBufferType) in createCopyImageTests()
360 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyImageTests()
361 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyImageTests()
362 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createCopyImageTests()
[all …]
DvktProtectedMemBlitImageTests.cpp64 virtual tcu::TestStatus iterate (void);
77 BlitImageTestCase (tcu::TestContext& testCtx, in BlitImageTestCase()
123 tcu::TestStatus BlitImageTestInstance::iterate() in iterate()
345 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate()
349 return tcu::TestStatus::pass("Everything went OK"); in iterate()
351 return tcu::TestStatus::fail("Something went really wrong"); in iterate()
354 tcu::TestCaseGroup* createBlitImageTests (tcu::TestContext& testCtx, CmdBufferType cmdBufferType) in createBlitImageTests()
362 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createBlitImageTests()
363 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createBlitImageTests()
364 { tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f), in createBlitImageTests()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.hpp69 rr::GenericVec4 getFormatCustomBorderColor (tcu::Vec4 floatValue, tcu::IVec4 intValue, vk::VkFo…
72 tcu::Vec4& lookupScale,
73 tcu::Vec4& lookupBias);
82 de::MovePtr<tcu::TextureLevel> readColorAttachment (const vk::DeviceInterface& vk,
89 const tcu::UVec2& renderSize);
99 de::MovePtr<tcu::TextureLevel> readDepthAttachment (const vk::DeviceInterface& vk,
106 const tcu::UVec2& renderSize,
116 de::MovePtr<tcu::TextureLevel> readStencilAttachment (const vk::DeviceInterface& vk,
123 const tcu::UVec2& renderSize,
164 TestTexture (const tcu::TextureFormat& format, int width, int height, int depth);
[all …]
/external/deqp/modules/gles2/functional/
Des2fClippingTests.cpp50 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 …]
Des2fRasterizationTests.cpp51 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/modules/gles3/functional/
Des3fClippingTests.cpp50 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/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.hpp47 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 …]
DvktSampleVerifier.hpp46 tcu::Vec4 coord;
47 tcu::Vec4 dPdx;
48 tcu::Vec4 dPdy;
116 tcu::IVec3 size;
131 const std::vector<de::SharedPtr<tcu::FloatFormat>>& conversionPrecision,
132 const std::vector<de::SharedPtr<tcu::FloatFormat>>& filteringPrecision,
133 const std::vector<tcu::ConstPixelBufferAccess>& levels);
136 const tcu::Vec4& result) const;
139 const tcu::Vec4& result,
144 bool verifySampleFiltered (const tcu::Vec4& result,
[all …]
DvktTextureFilteringTests.cpp53 …ter == tcu::Sampler::Sampler::CUBIC || testParameters.minFilter == tcu::Sampler::Sampler::CUBIC_MI… in checkTextureSupport()
54 testParameters.magFilter == tcu::Sampler::Sampler::CUBIC) in checkTextureSupport()
108 …if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::S… in checkTextureSupport()
115 …if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::S… in checkTextureSupport()
122 …if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::S… in checkTextureSupport()
129 …s.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::Sampler::Sampler::… in checkTextureSupport()
140 using tcu::TestLog;
141 using tcu::Sampler;
165 virtual tcu::TestStatus iterate (void);
174 tcu::Vec2 minCoord;
[all …]
/external/deqp/external/openglcts/modules/
DglcTestPackageRegistry.cpp78 static tcu::TestPackage* createConfigPackage(tcu::TestContext& testCtx) in createConfigPackage()
83 static tcu::TestPackage* createES2Package(tcu::TestContext& testCtx) in createES2Package()
89 static tcu::TestPackage* createdEQPEGLPackage(tcu::TestContext& testCtx) in createdEQPEGLPackage()
96 static tcu::TestPackage* createdEQPES2Package(tcu::TestContext& testCtx) in createdEQPES2Package()
103 static tcu::TestPackage* createES2GTFPackage(tcu::TestContext& testCtx) in createES2GTFPackage()
109 static tcu::TestPackage* createES30Package(tcu::TestContext& testCtx) in createES30Package()
115 static tcu::TestPackage* createdEQPES30Package(tcu::TestContext& testCtx) in createdEQPES30Package()
122 static tcu::TestPackage* createES30GTFPackage(tcu::TestContext& testCtx) in createES30GTFPackage()
129 static tcu::TestPackage* createdEQPES31Package(tcu::TestContext& testCtx) in createdEQPES31Package()
133 static tcu::TestPackage* createdEQPGL45Package(tcu::TestContext& testCtx) in createdEQPGL45Package()
[all …]
/external/deqp/framework/common/
DtcuRasterizationVerifier.cpp39 namespace tcu namespace
44 …ionWithProjectedWeights (const tcu::Surface& surface, const LineSceneSpec& scene, const Rasterizat…
46 …rsect (const tcu::Vector<deInt64, 2>& line0Beg, const tcu::Vector<deInt64, 2>& line0End, const tcu in lineLineIntersect()
48 typedef tcu::Vector<deInt64, 2> I64Vec2; in lineLineIntersect()
84 bool isTriangleClockwise (const tcu::Vec4& p0, const tcu::Vec4& p1, const tcu::Vec4& p2) in isTriangleClockwise()
86 const tcu::Vec2 u (p1.x() / p1.w() - p0.x() / p0.w(), p1.y() / p1.w() - p0.y() / p0.w()); in isTriangleClockwise()
87 const tcu::Vec2 v (p2.x() / p2.w() - p0.x() / p0.w(), p2.y() / p2.w() - p0.y() / p0.w()); in isTriangleClockwise()
93 bool compareColors (const tcu::RGBA& colorA, const tcu::RGBA& colorB, int redBits, int greenBits, i… in compareColors()
104 bool pixelNearLineSegment (const tcu::IVec2& pixel, const tcu::Vec2& p0, const tcu::Vec2& p1) in pixelNearLineSegment()
106 const tcu::Vec2 pixelCenterPosition = tcu::Vec2((float)pixel.x() + 0.5f, (float)pixel.y() + 0.5f); in pixelNearLineSegment()
[all …]
DtcuRasterizationVerifier.hpp33 namespace tcu namespace
66 tcu::Vec4 positions[3];
67 tcu::Vec4 colors[3];
85 tcu::Vec4 positions[2];
86 tcu::Vec4 colors[2];
103 tcu::Vec4 position;
104 tcu::Vec4 color;
125 tcu::Surface errorMask;
133 tcu::Surface errorMask;
144 …lculateTriangleCoverage (const tcu::Vec4& p0, const tcu::Vec4& p1, const tcu::Vec4& p2, const tcu:…
[all …]
/external/deqp/modules/internal/
DditImageCompareTests.cpp39 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 …]

12345678910>>...83