[Bug 105351] [Gen6+] piglit's arb_shader_image_load_store-host-mem-barrier fails with a glGetTexSubImage fallback path

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 15 23:20:26 UTC 2018


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

--- Comment #3 from Francisco Jerez <currojerez at riseup.net> ---
I doubt this is an image load/store bug, the failing subtest isn't calling
glGetTexImage on any surface which is ever accessed using image load/store. 
It's doing the following:

 - Initialize a buffer object using imageStore() from the fragment shader.
 - Overwrite half of the same buffer with green using glBufferSubData().
 - Copy the buffer into a 2D texture by binding it as a PBO and calling
   glTexImage2D().
 - Download the texture using glGetTexImage() [which with your hack is somehow
   getting stale contents from the above].

Kind of smells like a coherency issue of glGetTexImage() with respect to the
PBO upload path...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180315/f27d9e0f/attachment-0001.html>


More information about the intel-3d-bugs mailing list