[Mesa-dev] [Bug 101952] OpenCL enqueueReadBuffer returns trash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 29 05:06:43 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101952

--- Comment #12 from Janpieter Sollie <janpieter.sollie at dommel.be> ---
the bug seems to be located within this function:
char os_memcmp(private const void* dest, constant const void* src, const uchar
amount) {
    char j;
    const int* destination = (const int*) dest;
    constant int* source = (constant int*) src;
   for(j = (amount >> 2) - 1; j >= 0; j--) if(destination[j] != source[j])
return 0;
    return amount;
}

if you comment out the for loop, the program behaves as expected, if you don't,
it returns trash

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170729/96bf6482/attachment.html>


More information about the mesa-dev mailing list