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

--- Comment #13 from Marek Ol??k <maraeo at gmail.com> ---
If the program called MapBufferRange(MAP_INVALIDATE_BUFFER_BIT) instead of
BufferData, I think it would be okay to crash:

>From GL 4.4 spec:

"MAP_INVALIDATE_BUFFER_BIT indicates that the previous contents of the entire
buffer may be discarded. Data within the entire buffer are undefined with the
exception of subsequently written data. No GL error is generated if subsequent
GL operations access unwritten data, but the result is undefined and system
errors (possibly including program termination) may occur."

In other words, no context should access the buffer until UnmapBuffer() is
complete, because there may be unwritten data.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/dri-devel/attachments/20140224/e199d6b9/attachment.html>

Reply via email to