[Bug 90734] glBufferSubData is corrupting data when buffer is > 32k
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jun 6 13:33:57 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=90734
--- Comment #5 from kaillasse91 at hotmail.fr ---
Well, I built mesa with the patch and the test is ok but my application is not.
I use various buffer size and update is quasi random so I modified the test
case to reflect this and the first errors were at the 64k boundary.
Changing from :
//#define ELEMENT_CNT (4095 * 2) // NO ERROR
#define ELEMENT_CNT (4096 * 2) // ERROR, >= 4096
to :
//#define ELEMENT_CNT (8191 * 2) // NO ERROR
#define ELEMENT_CNT (8192 * 2) // ERROR, >= 8192
catches more errors.
Tested on sandy bridge hd 2000, in bytes as it seems to be the relevant factor
:
buffer size 65536 updating [44-65536] size 65492 bytes
buffer size 65536 updating [64-65536] size 65472 bytes
buffer size 65536 updating [56-65536] size 65480 bytes
And increasing the buffer size:
buffer size 400000 updating [50820-149076] size 98256 bytes
buffer size 400000 updating [11312-142364] size 131052 bytes
buffer size 4000000 updating [3255368-3484676] size 229308 bytes
buffer size 4000000 updating [2179900-2802388] size 622488 bytes
...
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150606/5d05c1e3/attachment.html>
More information about the intel-3d-bugs
mailing list