The orange is not a 0/1 color.  If the driver messes up and gives the
client sRGB decode on the texture, the test will now fail.
---
 tests/glx/glx-tfp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/glx/glx-tfp.c b/tests/glx/glx-tfp.c
index c27c89a..2640874 100644
--- a/tests/glx/glx-tfp.c
+++ b/tests/glx/glx-tfp.c
@@ -41,8 +41,8 @@
 #include "X11/extensions/Xrender.h"
 
 GLfloat tex_data[4][4] = {
-       { 1.0, 0.0, 0.0, 1.0 },
-       { 1.0, 0.0, 0.0, 0.5 },
+       { 1.0, 0.5, 0.0, 1.0 },
+       { 1.0, 0.5, 0.0, 0.5 },
        { 0.0, 1.0, 0.0, 1.0 },
        { 0.0, 1.0, 0.0, 0.5 },
 };
-- 
2.5.0.400.gff86faf

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to