[Piglit] [PATCH 1/7] fragcoord_w: Draw the whole window, and probe the whole window.
Eric Anholt
eric at anholt.net
Thu May 19 19:09:24 PDT 2011
I was confused by the undefined garbage showing up. Also, in my
failure mode, some pixels would come out OK.
---
tests/shaders/fragcoord_w.shader_test | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/shaders/fragcoord_w.shader_test b/tests/shaders/fragcoord_w.shader_test
index 574666e..077744e 100644
--- a/tests/shaders/fragcoord_w.shader_test
+++ b/tests/shaders/fragcoord_w.shader_test
@@ -15,5 +15,5 @@ void main()
}
[test]
-draw rect -1 -1 2 2
-relative probe rgb (0.5, 0.5) (1.0, 0.5, 1.0)
+draw rect -2 -2 4 4
+probe all rgba 1.0 0.5 1.0 0.0
--
1.7.5.1
More information about the Piglit
mailing list