commit | 3e424bcdfcef19682f9b651f7c1a04e32f18be5c | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Mon May 11 13:28:58 2020 -0700 |
committer | Marge Bot <eric+marge@anholt.net> | Tue May 12 21:19:50 2020 +0000 |
tree | fc93d4e615778f04c78d0aaff17008cd98a8d7c1 | |
parent | fdcadf611e03f0dc8878fb032b62510c38fe069b [diff] |
freedreno: Split the fd_batch_resource_used by read vs write. This is for an optimization I plan in a following commit. I found I had to add likely()s to avoid a perf regression from branch prediction. On the drawoverhead 8 UBOs test, the HW can't quite keep up with the CPU, but if I set nohw then this change is 1.32023% +/- 0.373053% (n=10). Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4996>