/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. 132 , imageViewMinLodMode (tcu::IMAGEVIEWMINLODMODE_PREFERRED) in ReferenceParams() 137 …ReferenceParams (TextureType texType_, const tcu::Sampler& sampler_, LodMode lodMode_ = LODMODE_EX… in ReferenceParams() 148 , imageViewMinLodMode (tcu::IMAGEVIEWMINLODMODE_PREFERRED) in ReferenceParams() 153 tcu::Sampler sampler; 162 tcu::ImageViewMinLodMode imageViewMinLodMode; 167 SamplerType getSamplerType (tcu::TextureFormat format); 168 SamplerType getFetchSamplerType (tcu::TextureFormat format); [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, view.isES2(), minLodParams); 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 …]
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemFillUpdateCopyBufferTests.cpp | 83 virtual tcu::TestStatus iterate (void); 97 FillUpdateCopyBufferTestCase (tcu::TestContext& testCtx, in FillUpdateCopyBufferTestCase() 151 tcu::TestStatus FillUpdateCopyBufferTestInstance<T>::iterate() in iterate() 298 << tcu::TestLog::Message << "Fill value: " << m_fillValue << tcu::TestLog::EndMessage; in iterate() 302 return tcu::TestStatus::pass("Everything went OK"); in iterate() 304 return tcu::TestStatus::fail("Something went really wrong"); in iterate() 307 tcu::TestCaseGroup* createFillUpdateCopyBufferFloatTests (tcu::TestContext& testCtx, CmdType cmdTyp… in createFillUpdateCopyBufferFloatTests() 318 { tcu::IVec4(1), tcu::IVec4(2), tcu::IVec4(3), tcu::IVec4(4) }, in createFillUpdateCopyBufferFloatTests() 319 { tcu::Vec4(3.2f), tcu::Vec4(3.2f), tcu::Vec4(3.2f), tcu::Vec4(3.2f) } in createFillUpdateCopyBufferFloatTests() 324 { tcu::IVec4(5), tcu::IVec4(6), tcu::IVec4(7), tcu::IVec4(8) }, in createFillUpdateCopyBufferFloatTests() [all …]
|
D | vktProtectedMemAttachmentLoadTests.cpp | 64 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 …]
|
D | vktProtectedMemClearColorImageTests.cpp | 64 virtual tcu::TestStatus iterate (void); 77 ClearColorImageTestCase (tcu::TestContext& testCtx, in ClearColorImageTestCase() 127 tcu::TestStatus ClearColorImageTestInstance::iterate() in iterate() 242 …<< tcu::TestLog::Message << "Color clear value: " << tcu::Vec4(m_clearColorValue.float32) << tcu::… in iterate() 246 return tcu::TestStatus::pass("Everything went OK"); in iterate() 248 return tcu::TestStatus::fail("Something went really wrong"); in iterate() 251 tcu::TestCaseGroup* createClearColorImageTests (tcu::TestContext& testCtx, CmdBufferType cmdBufferT… in createClearColorImageTests() 259 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createClearColorImageTests() 260 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createClearColorImageTests() 261 { 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 | 64 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 …]
|
D | vktProtectedMemCopyBufferToImageTests.cpp | 65 virtual tcu::TestStatus iterate (void); 78 CopyBufferToImageTestCase (tcu::TestContext& testCtx, in CopyBufferToImageTestCase() 129 tcu::TestStatus CopyBufferToImageTestInstance::iterate() in iterate() 309 << tcu::TestLog::Message << "Fill value: " << m_fillValue << tcu::TestLog::EndMessage; in iterate() 313 return tcu::TestStatus::pass("Everything went OK"); in iterate() 315 return tcu::TestStatus::fail("Something went really wrong"); in iterate() 318 tcu::TestCaseGroup* createCopyBufferToImageTests (tcu::TestContext& testCtx, CmdBufferType cmdBuffe… in createCopyBufferToImageTests() 329 { tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 0.0f, 0.0f), in createCopyBufferToImageTests() 330 tcu::Vec4(0.1f, 0.1f, 0.0f, 0.0f), tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f), }, in createCopyBufferToImageTests() 331 { tcu::Vec4(0.0f), tcu::Vec4(0.0f), in createCopyBufferToImageTests() [all …]
|
/external/deqp/external/openglcts/modules/ |
D | glcTestPackageRegistry.cpp | 79 static tcu::TestPackage* createConfigPackage(tcu::TestContext& testCtx) in createConfigPackage() 84 static tcu::TestPackage* createES2Package(tcu::TestContext& testCtx) in createES2Package() 90 static tcu::TestPackage* createdEQPEGLPackage(tcu::TestContext& testCtx) in createdEQPEGLPackage() 97 static tcu::TestPackage* createdEQPES2Package(tcu::TestContext& testCtx) in createdEQPES2Package() 104 static tcu::TestPackage* createES2GTFPackage(tcu::TestContext& testCtx) in createES2GTFPackage() 110 static tcu::TestPackage* createES30Package(tcu::TestContext& testCtx) in createES30Package() 116 static tcu::TestPackage* createdEQPES30Package(tcu::TestContext& testCtx) in createdEQPES30Package() 123 static tcu::TestPackage* createES30GTFPackage(tcu::TestContext& testCtx) in createES30GTFPackage() 130 static tcu::TestPackage* createdEQPES31Package(tcu::TestContext& testCtx) in createdEQPES31Package() 136 static tcu::TestPackage* createdEQPGL45ES31Package(tcu::TestContext& testCtx) in createdEQPGL45ES31Package() [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/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/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.hpp | 69 rr::GenericVec4 getFormatCustomBorderColor (tcu::Vec4 floatValue, tcu::IVec4 intValue, vk::VkFo… 72 tcu::Vec4& lookupScale, 73 tcu::Vec4& lookupBias, 83 de::MovePtr<tcu::TextureLevel> readColorAttachment (const vk::DeviceInterface& vk, 90 const tcu::UVec2& renderSize, 101 de::MovePtr<tcu::TextureLevel> readDepthAttachment (const vk::DeviceInterface& vk, 108 const tcu::UVec2& renderSize, 118 de::MovePtr<tcu::TextureLevel> readStencilAttachment (const vk::DeviceInterface& vk, 125 const tcu::UVec2& renderSize, 167 TestTexture (const tcu::TextureFormat& format, int width, int height, int depth); [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 | 46 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 …]
|
D | vktTextureCompressedFormatTests.cpp | 55 using tcu::Sampler; 56 using tcu::TestLog; 175 tcu::TestStatus iterate (void); 182 const tcu::CompressedTexFormat m_compressedFormat; 198 …puteScaleAndBias (const tcu::ConstPixelBufferAccess& reference, const tcu::ConstPixelBufferAccess&… in computeScaleAndBias() 200 tcu::Vec4 minVal; in computeScaleAndBias() 201 tcu::Vec4 maxVal; in computeScaleAndBias() 205 tcu::Vec4 refMin; in computeScaleAndBias() 206 tcu::Vec4 refMax; in computeScaleAndBias() 214 tcu::Vec4 resMin; in computeScaleAndBias() [all …]
|
D | vktTextureFilteringTests.cpp | 53 …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() 120 …if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::S… in checkTextureSupport() 127 …if (testParameters.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::S… in checkTextureSupport() 140 …s.wrapS == tcu::Sampler::Sampler::MIRRORED_ONCE || testParameters.wrapT == tcu::Sampler::Sampler::… in checkTextureSupport() 168 using tcu::TestLog; 169 using tcu::Sampler; 193 virtual tcu::TestStatus iterate (void); 202 tcu::Vec2 minCoord; [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/mesh_shader/ |
D | vktMeshShaderInOutTestsEXT.cpp | 58 using GroupPtr = de::MovePtr<tcu::TestCaseGroup>; 300 …InterfaceVariableParams (const tcu::Maybe<tcu::UVec3>& taskCount_, const tcu::UVec3& meshCount_, u… in InterfaceVariableParams() 318 tcu::UVec3 drawCount () const in drawCount() 325 tcu::Maybe<tcu::UVec3> taskCount; 326 tcu::UVec3 meshCount; 345 …InterfaceVariablesCase (tcu::TestContext& testCtx, const std::string& name, const std::string& de… in InterfaceVariablesCase() 362 tcu::Vec4 vert_f64d4_inter_0[IfaceVar::kNumVertices]; 363 tcu::Vec4 vert_f64d4_inter_1[IfaceVar::kNumVertices]; 365 tcu::Vec3 vert_f64d3_inter_0[IfaceVar::kNumVertices]; 366 tcu::Vec3 vert_f64d3_inter_1[IfaceVar::kNumVertices]; [all …]
|
/external/deqp/framework/common/ |
D | tcuRasterizationVerifier.cpp | 39 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 …]
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_shading_rate/ |
D | vktFragmentShadingRateTests.cpp | 44 tcu::TestStatus testLimits(Context& context) in testLimits() 47 tcu::TestLog& log = context.getTestContext().getLog(); in testLimits() 56 …log << tcu::TestLog::Message << "pipelineFragmentShadingRate is not supported" << tcu::TestLog::En… in testLimits() 62 log << tcu::TestLog::Message << "primitiveFragmentShadingRateWithMultipleViewports " in testLimits() 63 …"limit should only be supported if primitiveFragmentShadingRate is supported" << tcu::TestLog::End… in testLimits() 70 …log << tcu::TestLog::Message << "primitiveFragmentShadingRateWithMultipleViewports limit should on… in testLimits() 72 … "or VK_EXT_shader_viewport_index_layer extension is supported" << tcu::TestLog::EndMessage; in testLimits() 78 …log << tcu::TestLog::Message << "layeredShadingRateAttachments should only be supported if attachm… in testLimits() 86 …log << tcu::TestLog::Message << "layeredShadingRateAttachments should only be supported if at leas… in testLimits() 87 … feature, or VK_EXT_shader_viewport_index_layer extension is supported" << tcu::TestLog::EndMessag… in testLimits() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageTestsUtil.cpp | 63 const tcu::TextureFormat& format) in SparseImage() 73 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize) in getShaderGridSize() 79 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize() 82 return tcu::UVec3(imageSize.x(), imageSize.z(), 1u); in getShaderGridSize() 85 return tcu::UVec3(imageSize.x(), imageSize.y(), 1u); in getShaderGridSize() 89 return tcu::UVec3(imageSize.x(), imageSize.y(), imageSize.z()); in getShaderGridSize() 92 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u); in getShaderGridSize() 95 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u * imageSize.z()); in getShaderGridSize() 99 return tcu::UVec3(1u, 1u, 1u); in getShaderGridSize() 103 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() [all …]
|