aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-01-06 17:59:20 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-01-06 18:13:41 -0300
commitb6476ed501672b89bb323a94ada1e662b85cfa1f (patch)
tree35df5af1a7d6118e8cadd8ece49fd5d270bc0d30 /src/core/hle/kernel/process.cpp
parentf0573c5b5d64d2b40ae916928dde182c65bd1116 (diff)
vk_stream_buffer/vk_buffer_cache: Avoid halting and use generic cache
The stream buffer before this commit once it was full (no more bytes to write before looping) waiting for all previous operations to finish. This was a temporary solution and had a noticeable performance penalty in performance (from what a profiler showed). To avoid this mark with fences usages of the stream buffer and once it loops wait for them to be signaled. On average this will never wait. Each fence knows where its usage finishes, resulting in a non-paged stream buffer. On the other side, the buffer cache is reimplemented using the generic buffer cache. It makes use of the staging buffer pool and the new stream buffer.
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
0 files changed, 0 insertions, 0 deletions