Commit 2e561445 authored by Matt Turner's avatar Matt Turner
Browse files

shaders: Stop using ortho in glsl-const tests.



Scripted with sed with fix ups to
 - not - actually writes .w component, so probe rgba.
 - reflect - writes const 1.0 .w component, so probe rgb.
 - cosh - writes const 1.0 .w component, and used probe rgb with 4
   components, so drop the .w from the probe.
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
parent 67174fbc
......@@ -14,8 +14,5 @@ void main()
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.5 0.0 0.5
draw rect -1 -1 2 2
probe all rgb 0.5 0.0 0.5
......@@ -13,8 +13,5 @@ void main() {
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 0.5707963267949 0.14159265358979
draw rect -1 -1 2 2
probe all rgb 0.0 0.5707963267949 0.14159265358979
......@@ -17,8 +17,5 @@ void main()
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 1.0 0.0
draw rect -1 -1 2 2
probe all rgb 0.0 1.0 0.0
......@@ -17,8 +17,5 @@ void main()
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 1.0 1.0 0.0
draw rect -1 -1 2 2
probe all rgb 1.0 1.0 0.0
......@@ -13,8 +13,5 @@ void main() {
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 0.0471975511966 0.5707963267949
draw rect -1 -1 2 2
probe all rgb 0.0 0.0471975511966 0.5707963267949
......@@ -15,8 +15,5 @@ void main() {
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 1.0 0.0
draw rect -1 -1 2 2
probe all rgb 0.0 1.0 0.0
......@@ -14,8 +14,5 @@ void main()
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 0.0 1.0
draw rect -1 -1 2 2
probe all rgb 0.0 0.0 1.0
......@@ -13,8 +13,5 @@ void main()
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 1.0 0.0
draw rect -1 -1 2 2
probe all rgb 0.0 1.0 0.0
......@@ -13,8 +13,5 @@ void main() {
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.707106781186548 1.0 0.5
draw rect -1 -1 2 2
probe all rgb 0.707106781186548 1.0 0.5
......@@ -13,8 +13,5 @@ void main() {
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.54308063481524 0.76219569108363 0.0676619957778 1.0
draw rect -1 -1 2 2
probe all rgb 0.54308063481524 0.76219569108363 0.0676619957778
......@@ -17,8 +17,5 @@ void main()
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0 1 0
draw rect -1 -1 2 2
probe all rgb 0 1 0
......@@ -14,8 +14,5 @@ void main() {
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 1.0 0.0
draw rect -1 -1 2 2
probe all rgb 0.0 1.0 0.0
......@@ -17,8 +17,5 @@ void main() {
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 1.0 0.0
draw rect -1 -1 2 2
probe all rgb 0.0 1.0 0.0
......@@ -15,8 +15,5 @@ void main()
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.73087868591526 0.73087868591526
draw rect -1 -1 2 2
probe all rgb 0.73087868591526 0.73087868591526
......@@ -17,8 +17,5 @@ void main()
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 1.0 0.0
draw rect -1 -1 2 2
probe all rgb 0.0 1.0 0.0
......@@ -15,8 +15,5 @@ void main()
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 1.0 0.0
draw rect -1 -1 2 2
probe all rgb 0.0 1.0 0.0
......@@ -15,8 +15,5 @@ void main()
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 1.0 0.0
draw rect -1 -1 2 2
probe all rgb 0.0 1.0 0.0
......@@ -15,8 +15,5 @@ void main()
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 1.0 0.0
draw rect -1 -1 2 2
probe all rgb 0.0 1.0 0.0
......@@ -15,8 +15,5 @@ void main()
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 1.0 0.0
draw rect -1 -1 2 2
probe all rgb 0.0 1.0 0.0
......@@ -15,8 +15,5 @@ void main()
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.0 1.0 0.0
draw rect -1 -1 2 2
probe all rgb 0.0 1.0 0.0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment