[Nouveau] [Bug 96355] Performance: extra&costly SSBO validation even when SSBO aren't used
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jun 3 08:17:51 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=96355
--- Comment #2 from Samuel Pitoiset <samuel.pitoiset at gmail.com> ---
Hi Gregory,
Thanks for profiling Nouveau with perf, that's very nice. :-)
Well, if your application doesn't use SSBO's, nvc0_validate_buffers() should
not be called yeah. But this might happen when we switch between different
contexts. Anyway, improving the validation path is on our todolist. :)
Well, according to your backtrace, nvc0_set_shader_buffers() is called and will
dirty NVC0_NEW_3D_BUFFERS, which will then call nvc0_validate_buffers() at draw
time.
I wonder why it's called if you are sure that your application doesn't use any
SSBO's...
Can you extract some shaders from your application to make sure no SSBO's are
used? You can use NV50_PROG_DEBUG=1 for example (this will dump the TGSI code).
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160603/91cb9b62/attachment-0001.html>
More information about the Nouveau
mailing list