Revert "Fix texture lookups tests"
authorAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 22 Feb 2018 17:11:04 +0000 (12:11 -0500)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 23 Feb 2018 08:11:46 +0000 (03:11 -0500)
This reverts commit 0dd89ea7126f19cca176ffaa6bb47a259671570f.

Change-Id: I3612c45a6b85819e4cc3f5dcef992743f3964c65

modules/gles2/functional/es2fRandomShaderTests.cpp

index f4c65fe..c39ba19 100644 (file)
@@ -23,9 +23,7 @@
 
 #include "es2fRandomShaderTests.hpp"
 #include "glsRandomShaderCase.hpp"
-#include "glwFunctions.hpp"
 #include "deStringUtil.hpp"
-#include "glwEnums.hpp"
 
 namespace deqp
 {
@@ -45,14 +43,6 @@ gls::RandomShaderCase* createRandomShaderCase (Context& context, const char* des
        params.vertexParameters.randomize       = vertex;
        params.fragmentParameters.randomize     = fragment;
 
-       // GL_MAJOR_VERSION query does not exist on GLES2
-       // so succeeding query implies GLES3+ hardware.
-       glw::GLint majorVersion = 0;
-       const glw::Functions& gl = context.getRenderContext().getFunctions();
-       gl.getIntegerv(GL_MAJOR_VERSION, &majorVersion);
-       if (gl.getError() == GL_NO_ERROR)
-               params.version = rsg::VERSION_300;
-
        return new gls::RandomShaderCase(context.getTestContext(), context.getRenderContext(), de::toString(seed).c_str(), description, params);
 }