Revert "Add table entries for almost all the remaining GL texture formats."
Missing include of <limits> for linux.
This reverts commit aa3a5fadebb2bad0be07eb2963a9d23f901c4c49.
Change-Id: Iafebfbc6154b4fe3a94e3f8b91b5ff496631c1f1
Reviewed-on: https://chromium-review.googlesource.com/273134
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
diff --git a/src/tests/gl_tests/LineLoopTest.cpp b/src/tests/gl_tests/LineLoopTest.cpp
index 305155b..85be69d 100644
--- a/src/tests/gl_tests/LineLoopTest.cpp
+++ b/src/tests/gl_tests/LineLoopTest.cpp
@@ -28,16 +28,20 @@
const std::string vsSource = SHADER_SOURCE
(
attribute highp vec4 position;
+ attribute highp vec4 in_color;
+
+ varying highp vec4 color;
void main(void)
{
gl_Position = position;
+ color = in_color;
}
);
const std::string fsSource = SHADER_SOURCE
(
- uniform highp vec4 color;
+ varying highp vec4 color;
void main(void)
{
gl_FragColor = color;
@@ -51,7 +55,7 @@
}
mPositionLocation = glGetAttribLocation(mProgram, "position");
- mColorLocation = glGetUniformLocation(mProgram, "in_color");
+ mColorLocation = glGetAttribLocation(mProgram, "in_color");
glBlendFunc(GL_ONE, GL_ONE);
glEnable(GL_BLEND);
@@ -201,4 +205,4 @@
}
// Use this to select which configurations (e.g. which renderer, which GLES major version) these tests should be run against.
-ANGLE_INSTANTIATE_TEST(LineLoopTest, ES2_D3D9(), ES2_D3D11(), ES2_OPENGL());
+ANGLE_INSTANTIATE_TEST(LineLoopTest, ES2_D3D9(), ES2_D3D11());