[Piglit] [PATCH] glx-tfp: Use a nice orange color instead of red
Kenneth Graunke
kenneth at whitecape.org
Fri Oct 20 07:48:29 UTC 2017
On Thursday, October 19, 2017 8:08:24 PM PDT Jason Ekstrand wrote:
> 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 },
> };
>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20171020/a8f0b422/attachment.sig>
More information about the Piglit
mailing list