[Bug 101572] glMemoryBarrier is backwards
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jun 27 17:11:44 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101572
--- Comment #4 from Matias N. Goldberg <dark_sylinc at yahoo.com.ar> ---
After careful thought; I realized I don't need to switch to a dummy FBO; just
unset the current one.
That DOES make sense to me as while the FBO is bound and I'm executing the
compute shader that reads from it, I could as well be telling the driver to do
both things at the same time.
I could see why unsetting the FBO would flush the necessary caches (due to
OpenGL guarantees, I'm saying "I'm done writing to this FBO" and now reads
should be guaranteed to be correct), so I'm going to take this for an answer.
I don't want to spend much more time on this matter either.
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170627/6450f847/attachment.html>
More information about the dri-devel
mailing list