summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-const-builtin-sqrt.shader_test
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2013-11-04 18:19:23 -0800
committerMatt Turner <mattst88@gmail.com>2013-11-05 13:18:02 -0800
commit2e5614458e566fb4353e92fc0b6407c12ee45c87 (patch)
treedd4a42ff417a732cbb91c6713e49001767d6ad83 /tests/shaders/glsl-const-builtin-sqrt.shader_test
parent67174fbcf797b4a129250db1a3c001974e7522ad (diff)
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 <kenneth@whitecape.org>
Diffstat (limited to 'tests/shaders/glsl-const-builtin-sqrt.shader_test')
-rw-r--r--tests/shaders/glsl-const-builtin-sqrt.shader_test7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/shaders/glsl-const-builtin-sqrt.shader_test b/tests/shaders/glsl-const-builtin-sqrt.shader_test
index 4dbe1714f..3bf7a4f39 100644
--- a/tests/shaders/glsl-const-builtin-sqrt.shader_test
+++ b/tests/shaders/glsl-const-builtin-sqrt.shader_test
@@ -12,8 +12,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.5 0.0
+draw rect -1 -1 2 2
+probe all rgb 0.0 0.5 0.0