[Piglit] [PATCH v5] pbo: Change the value expected from GetPixelMap. This fixes tests/spec/gl-2.1/pbo on Windows Intel driver.
sandra koroniewska
sandra.koroniewska at gmail.com
Wed Jun 21 16:09:54 UTC 2017
Hi, is this patch good for pushing now?
Regards,
Sandra
On Thu, Jun 8, 2017 at 5:35 PM, sandra koroniewska <
sandra.koroniewska at gmail.com> wrote:
> Just corrected the typo in the title and restored the previously deleted
> glUnmapBuffer as Jozef suggested.
> Sorry for posting this in the new message (looks like I didn't use
> --in-repy-to properly).
>
> Regards,
> Sandra
>
> On Thu, Jun 8, 2017 at 5:32 PM, Sandra Koroniewska <
> sandra.koroniewska at gmail.com> wrote:
>
>> ---
>> tests/spec/gl-2.1/pbo.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/tests/spec/gl-2.1/pbo.c b/tests/spec/gl-2.1/pbo.c
>> index bb4c0352c..313afcc93 100644
>> --- a/tests/spec/gl-2.1/pbo.c
>> +++ b/tests/spec/gl-2.1/pbo.c
>> @@ -353,7 +353,7 @@ test_pixel_map(void)
>> }
>>
>> for (i = 0; i < max; i++) {
>> - if (pbo_mem[i] != (255 - i)) {
>> + if (pbo_mem[i] != (max- i - 1)) {
>> REPORT_FAILURE("get PixelMap
>> failed");
>> return PIGLIT_FAIL;
>> }
>> --
>> 2.11.0.windows.1
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170621/de9692fe/attachment.html>
More information about the Piglit
mailing list