[Piglit] [PATCH] glx-tfp: Use a nice orange color instead of red
Jason Ekstrand
jason at jlekstrand.net
Fri Oct 20 03:08:24 UTC 2017
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
More information about the Piglit
mailing list