[Bug 91926] [SKL bisected] texsubimage pbo intermittent failures

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 9 06:16:46 PDT 2015


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

--- Comment #9 from Topi Pohjolainen <topi.pohjolainen at intel.com> ---
I've been hopefully narrowing this down some more. What seems to make a
difference between a flush just after upload and a flush just after clear is
that in the latter case it is preceded by a _mesa_update_state() call.

I made brw_clear() to skip the entire clear but to just issue
brw_emit_mi_flush() (note that _mesa_clear() calls _mesa_update_state() before
it calls driver to do its thing). In the test there is specifically a glClear()
call between the data upload and the draw call sampling the loaded data.
This prevents the error from happening. If in turn I remove this specific
glClear() call in the test (that now doesn't no anything else than state update
and flush) than the error will re-appear. Recall that simple
brw_emit_mi_flush() after the upload BUT before _mesa_update_state() didn't
help.

I'll now start slicing _mesa_update_state().

-- 
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/20151009/44148b43/attachment.html>


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