[Bug 94148] Framebuffer considered invalid when a draw call is done before glCheckFramebufferStatus

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 8 17:39:23 UTC 2016


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

--- Comment #6 from Ilia Mirkin <imirkin at alum.mit.edu> ---
Created attachment 124959
  --> https://bugs.freedesktop.org/attachment.cgi?id=124959&action=edit
hackfix

The attached patch fixes both the issue in the repro program and in the
originally attached trace. Perhaps more needs to be done there though.

Not 100% sure what the right fix is, but basically after you do glTexImage() on
a texture attached to a fbo, we never set _NEW_BUFFERS, which in turn never
triggers the fb (re)validation logic. We do basically the same thing in
st_render_texture in st/mesa.

-- 
You are receiving this mail because:
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/20160708/1d83078f/attachment.html>


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