commit | 18ccda7b86b8f7ab7466265aefb3f3e773f4a757 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Fri Oct 24 16:50:37 2014 +0100 |
committer | Eric Anholt <eric@anholt.net> | Fri Oct 24 18:04:26 2014 +0100 |
tree | 14cc17d5d92cdb83ce863e54709f2c5c13d023b4 | |
parent | a71c3b885a532016aa426b5bb753291cffe39a44 [diff] |
vc4: When asked to discard-map a whole resource, discard it. This saves a bunch of extra flushes when texsubimaging a whole texture that's been used for rendering, or subdataing a whole BO. In particular, this massively reduces the runtime of piglit texture-packed-formats (when the probes have been moved out of the inner loop).