[Piglit] [PATCH v3 1/4] pbo-read-argb8888: make it endian-safe

2016-03-31 Thread Oded Gabbay
In this test we use GL_BGRA + GL_UNSIGNED_BYTE. However, the probe function receives two 4-byte values to compare, expected and observed. This is wrong as the correct way to compare array_of_bytes (GL_UNSIGNED_BYTE) in an endian-safe way is by comparing memory (and not values). This patch fixes th

Re: [Piglit] [PATCH v3 1/4] pbo-read-argb8888: make it endian-safe

2016-04-01 Thread Michel Dänzer
On 01.04.2016 05:09, Oded Gabbay wrote: > In this test we use GL_BGRA + GL_UNSIGNED_BYTE. However, the probe > function receives two 4-byte values to compare, expected and > observed. This is wrong as the correct way to compare > array_of_bytes (GL_UNSIGNED_BYTE) in an endian-safe way is by compari