summaryrefslogtreecommitdiff
path: root/tests/glean
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-05-19 16:31:46 -0700
committerMatt Turner <mattst88@gmail.com>2014-05-22 09:26:19 -0700
commit68232168beae23e90b7addb1ab409e3fcdbea653 (patch)
treefcb0ac02e16cd4c1a831c897d5001473da18cfef /tests/glean
parentbcf9b37c919909211a8506303e26dbb19e52255c (diff)
glean/glsl1: Delete duplicated equality/inequality tests.
Diffstat (limited to 'tests/glean')
-rw-r--r--tests/glean/tglsl1.cpp225
1 files changed, 0 insertions, 225 deletions
diff --git a/tests/glean/tglsl1.cpp b/tests/glean/tglsl1.cpp
index 900b81c4f..9a5a5147f 100644
--- a/tests/glean/tglsl1.cpp
+++ b/tests/glean/tglsl1.cpp
@@ -978,231 +978,6 @@ static const ShaderProgram Programs[] = {
},
#endif
- // Equality/inequality tests==========================================
- {
- "equality (float, pass)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " float v = uniform1.x; \n"
- " if (uniform1.x == v) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 1.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
- {
- "equality (float, fail)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " if (uniform1.x == 99.0) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 0.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
- {
- "inequality (float, pass)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " float v = uniform1.x; \n"
- " if (uniform1.y != v) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 1.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
- {
- "inequality (float, fail)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " float v = uniform1.x; \n"
- " if (uniform1.x != v) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 0.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
- {
- "equality (vec2, pass)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " vec2 v = uniform1.xy; \n"
- " if (uniform1.xy == v) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 1.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
- {
- "equality (vec2, fail)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " vec2 v = uniform1.xy; \n"
- " if (v == vec2(99.0)) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 0.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
-
- {
- "inequality (vec2, pass)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " vec2 v = uniform1.yx; \n"
- " if (uniform1.xy != v) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 1.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
- {
- "inequality (vec2, fail)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " vec2 v = uniform1.xy; \n"
- " if (uniform1.xy != v) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 0.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
- {
- "equality (vec3, pass)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " vec3 v = uniform1.xyz; \n"
- " if (uniform1.xyz == v) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 1.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
- {
- "equality (vec3, fail)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " if (uniform1.xyz == vec3(99.0)) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 0.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
- {
- "inequality (vec3, pass)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " vec3 v = uniform1.zyx; \n"
- " if (uniform1.xyz != v) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 1.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
- {
- "inequality (vec3, fail)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " vec3 v = uniform1.xyz; \n"
- " if (uniform1.xyz != v) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 0.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
- {
- "equality (vec4, pass)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " vec4 v = uniform1; \n"
- " if (uniform1 == v) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 1.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
-
- {
- "equality (vec4, fail)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " if (uniform1 == vec4(99.0)) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 0.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
- {
- "inequality (vec4, pass)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " vec4 v = uniform1.zyxw; \n"
- " if (uniform1 != v) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 1.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
- {
- "inequality (vec4, fail)",
- NO_VERTEX_SHADER,
- "uniform vec4 uniform1; \n"
- "void main() { \n"
- " gl_FragColor = vec4(0); \n"
- " vec4 v = uniform1.xyzw; \n"
- " if (uniform1 != v) \n"
- " gl_FragColor = vec4(0, 1, 0, 0); // green \n"
- "} \n",
- { 0.0, 0.0, 0.0, 0.0 },
- DONT_CARE_Z,
- FLAG_NONE
- },
-
// Logical operators =================================================
{
"&& operator, short-circuit",