iris: Be less aggressive at postdraw work skipping
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Apr 2019 21:35:26 +0000 (14:35 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 19 Apr 2019 01:51:58 +0000 (18:51 -0700)
commita913fbf124e201a8bf53fe8385619a71a6e9594b
tree0ba172eeb54a4aff8a2a5a6d1b0710d9592fdeb7
parentcd4ffb376f2aeefdd6a1b80d69a1580c4e569778
iris: Be less aggressive at postdraw work skipping

We empty the cache sets when flushing the batch, at which point we need
to add any framebuffer related BOs even though the bindings haven't
changed.  So, we now do the cache set tracking unconditionally.

For now, we continue skipping resolve work based on the same conditions
in the predraw functions - the thinking is if we didn't trigger
resolves, there's nothing to update here.  Time will tell if this works.

Partly reverts commit 365886ebe1a54f893b688b457553eead6aa572ea, and
fixes Unigine Valley rendering on Gen9+.  Drops drawoverhead scores
by about 10-12%.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110353
src/gallium/drivers/iris/iris_resolve.c