diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-11-04 15:19:02 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-11-04 20:18:17 +0100 |
commit | cecbcf4b2de9e495969b7a25ce06ba7c3fabeb6c (patch) | |
tree | 123d13fd4c7b962c82dd1e151b7b0f96a48285b8 /src/glx/glxhash.h | |
parent | b041687ed1e641a79237752a5ffe099d731e13e9 (diff) |
radv: Use an array to store descriptor sets.
The vram_list linked list resulted in lots of pointer chasing.
Replacing this with an array instead improves descriptor set
allocation CPU usage by 3x at least (when also considering the free),
because it had to iterate through 300-400 sets on average.
Not a huge improvement as the pre-improvement CPU usage was only
about 2.3% in the busiest thread.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glx/glxhash.h')
0 files changed, 0 insertions, 0 deletions