[Piglit] [PATCH 4/4] glean/glsl1: Delete duplicated gl_FrontFacing tests.
Matt Turner
mattst88 at gmail.com
Mon Jul 7 14:14:34 PDT 2014
Tested by tests/shaders/glsl-fs-frontfacing.shader_test.
---
tests/all.py | 2 --
tests/glean/tglsl1.cpp | 22 ----------------------
2 files changed, 24 deletions(-)
diff --git a/tests/all.py b/tests/all.py
index 7cb2936..5e78fea 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -174,8 +174,6 @@ glean_glsl_tests = [
'GL state variable reference (point attenuation)',
'linear fog',
'built-in constants',
- 'gl_FrontFacing var (1)',
- 'gl_FrontFacing var (2)',
'texture2D()',
'texture2D(), computed coordinate',
'texture2D(), with bias',
diff --git a/tests/glean/tglsl1.cpp b/tests/glean/tglsl1.cpp
index 33d89be..549f9fa 100644
--- a/tests/glean/tglsl1.cpp
+++ b/tests/glean/tglsl1.cpp
@@ -508,28 +508,6 @@ static const ShaderProgram Programs[] = {
FLAG_NONE
},
- {
- "gl_FrontFacing var (1)",
- NO_VERTEX_SHADER,
- "void main() { \n"
- " gl_FragColor = vec4(0.5 * float(gl_FrontFacing)); \n"
- "} \n",
- { 0.5, 0.5, 0.5, 0.5 },
- DONT_CARE_Z,
- FLAG_NONE
- },
-
- {
- "gl_FrontFacing var (2)",
- NO_VERTEX_SHADER,
- "void main() { \n"
- " gl_FragColor = vec4(0.25 + float(gl_FrontFacing)); \n"
- "} \n",
- { 0.25, 0.25, 0.25, 0.25 },
- DONT_CARE_Z,
- FLAG_WINDING_CW
- },
-
// Texture functions ==================================================
{
"texture2D()",
--
1.8.5.5
More information about the Piglit
mailing list