Add CTS_ARB_shader_draw_parameters tests implementation
[platform/upstream/VK-GL-CTS.git] / external / openglcts / modules / gl / gl4cTestPackages.cpp
index 9166d86..d16c49a 100644 (file)
 #include "gl4cPostDepthCoverageTests.hpp"
 #include "gl4cProgramInterfaceQueryTests.hpp"
 #include "gl4cRobustnessTests.hpp"
+#include "gl4cShaderAtomicCounterOpsTests.hpp"
 #include "gl4cShaderAtomicCountersTests.hpp"
+#include "gl4cShaderBallotTests.hpp"
+#include "gl4cShaderDrawParametersTests.hpp"
+#include "gl4cShaderGroupVoteTests.hpp"
 #include "gl4cShaderImageLoadStoreTests.hpp"
 #include "gl4cShaderImageSizeTests.hpp"
 #include "gl4cShaderStorageBufferObjectTests.hpp"
@@ -67,6 +71,7 @@
 #include "glcInfoTests.hpp"
 #include "glcRobustBufferAccessBehaviorTests.hpp"
 #include "glcSampleVariablesTests.hpp"
+#include "glcShaderIntegerMixTests.hpp"
 #include "glcShaderLibrary.hpp"
 #include "glcShaderMultisampleInterpolationTests.hpp"
 #include "glcViewportArrayTests.hpp"
@@ -230,6 +235,7 @@ void GL43TestPackage::init(void)
                addChild(new gl4cts::SparseBufferTests(getContext()));
                addChild(new gl4cts::SparseTextureTests(getContext()));
                addChild(new gl4cts::IndirectParametersTests(getContext()));
+               addChild(new gl4cts::ShaderBallotTests(getContext()));
        }
        catch (...)
        {
@@ -304,6 +310,19 @@ void GL44TestPackage::init(void)
 
 // GL45TestPackage
 
+class GL45ShaderTests : public deqp::TestCaseGroup
+{
+public:
+       GL45ShaderTests(deqp::Context& context) : TestCaseGroup(context, "shaders45", "Shading Language Tests")
+       {
+       }
+
+       void init(void)
+       {
+               addChild(new deqp::ShaderIntegerMixTests(getContext(), glu::GLSL_VERSION_450));
+       }
+};
+
 GL45TestPackage::GL45TestPackage(tcu::TestContext& testCtx, const char* packageName, const char* description,
                                                                 glu::ContextType renderContextType)
        : GL44TestPackage(testCtx, packageName, packageName, renderContextType)
@@ -322,6 +341,7 @@ void GL45TestPackage::init(void)
 
        try
        {
+               addChild(new GL45ShaderTests(getContext()));
                addChild(new gl4cts::ClipControlTests(getContext(), gl4cts::ClipControlTests::API_GL_45core));
                addChild(new gl4cts::DirectStateAccess::Tests(getContext()));
                addChild(new gl4cts::GetTextureSubImage::Tests(getContext()));
@@ -335,6 +355,9 @@ void GL45TestPackage::init(void)
                addChild(new gl4cts::SparseTexture2Tests(getContext()));
                addChild(new gl4cts::SparseTextureClampTests(getContext()));
                addChild(new gl4cts::TextureFilterMinmax(getContext()));
+               addChild(new gl4cts::ShaderAtomicCounterOps(getContext()));
+               addChild(new gl4cts::ShaderGroupVote(getContext()));
+               addChild(new gl4cts::ShaderDrawParametersTests(getContext()));
        }
        catch (...)
        {