[Piglit] [PATCH] glx-multithread-makecurrent-*: Write the expected value for alpha

Brian Paul brianp at vmware.com
Mon Jan 28 15:37:22 PST 2013


On 01/28/2013 04:35 PM, Ian Romanick wrote:
> From: Ian Romanick<ian.d.romanick at intel.com>
>
> The tests would previously write 0.0 to the alpha and expect to read 1.0
> back.  If the test got a visual without alpha (and it doesn't request
> alpha), this would happen to work.  However, drivers are not required to
> expose visuals without alpha, so the test might get an RGBA visual
> afterall.
>
> Signed-off-by: Ian Romanick<ian.d.romanick at intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59738
> ---
>   tests/glx/glx-multithread-makecurrent-1.c | 6 +++---
>   tests/glx/glx-multithread-makecurrent-2.c | 4 ++--
>   tests/glx/glx-multithread-makecurrent-3.c | 4 ++--
>   tests/glx/glx-multithread-makecurrent-4.c | 4 ++--
>   4 files changed, 9 insertions(+), 9 deletions(-)
>

Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the Piglit mailing list