summaryrefslogtreecommitdiff
path: root/tests/glean
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-07-05 17:58:46 -0700
committerMatt Turner <mattst88@gmail.com>2014-07-06 18:22:22 -0700
commitd5e2627c1959280944beaa2756b57ab8f8dec203 (patch)
tree2fd954cac54956775b62e7d4a877e2cb9c4ad677 /tests/glean
parent55daf4aeb30a60e3eb352740c1181c33eb57d437 (diff)
glean/glsl1: Delete duplicated gl_*Color tests.
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Diffstat (limited to 'tests/glean')
-rw-r--r--tests/glean/tglsl1.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/tests/glean/tglsl1.cpp b/tests/glean/tglsl1.cpp
index 0a943a05a..78184a711 100644
--- a/tests/glean/tglsl1.cpp
+++ b/tests/glean/tglsl1.cpp
@@ -112,46 +112,6 @@ static const GLfloat FogColor[4] = { FOG_R, FOG_G, FOG_B, FOG_A };
static const ShaderProgram Programs[] = {
// Simple tests =======================================================
{
- "Directly set fragment color", // name
- NO_VERTEX_SHADER, // vertex shader
- // fragment shader:
- "void main() { \n"
- " gl_FragColor = vec4(1.0, 0.5, 0.25, 0.0); \n"
- "} \n",
- { 1.0, 0.5, 0.25, 0.0 }, // expectedColor
- DONT_CARE_Z, // expectedZ
- FLAG_NONE // flags
- },
-
- {
- "Directly set vertex color",
- "void main() { \n"
- " gl_Position = ftransform(); \n"
- " gl_FrontColor = vec4(0.5, 1.0, 0.25, 0.0); \n"
- "} \n",
- NO_FRAGMENT_SHADER,
- { 0.5, 1.0, 0.25, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
-
- {
- "Pass-through vertex color",
- // vert shader:
- "void main() { \n"
- " gl_Position = ftransform(); \n"
- " gl_FrontColor = vec4(0.25, 1.0, 0.75, 0.0); \n"
- "} \n",
- // frag shader:
- "void main() { \n"
- " gl_FragColor = gl_Color; \n"
- "} \n",
- { 0.25, 1.0, 0.75, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
-
- {
"Primary plus secondary color",
// vert shader:
"void main() { \n"