Skip to content
Snippets Groups Projects
  1. Jan 06, 2020
    • ReinUsesLisp's avatar
      vk_stream_buffer/vk_buffer_cache: Avoid halting and use generic cache · 5b01f80a
      ReinUsesLisp authored
      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.
      5b01f80a
    • ReinUsesLisp's avatar
      vk_memory_manager: Misc changes · ceb851b5
      ReinUsesLisp authored
      * Allocate memory in discrete exponentially increasing chunks until the
      128 MiB threshold. Allocations larger thant that increase linearly by
      256 MiB (depending on the required size). This allows to use small
      allocations for small resources.
      
      * Move memory maps to a RAII abstraction. To optimize for debugging
      tools (like RenderDoc) users will map/unmap on usage. If this ever
      becomes a noticeable overhead (from my profiling it doesn't) we can
      transparently move to persistent memory maps without harming the API,
      getting optimal performance for both gameplay and debugging.
      
      * Improve messages on exceptional situations.
      
      * Fix typos "requeriments" -> "requirements".
      
      * Small style changes.
      ceb851b5
    • ReinUsesLisp's avatar
      vk_buffer_cache: Temporarily remove buffer cache · 85bb6a6f
      ReinUsesLisp authored
      This is intended for a follow up commit to avoid circular dependencies.
      85bb6a6f
    • bunnei's avatar
      Merge pull request #3257 from degasus/no_busy_loops · 89fc75d7
      bunnei authored
      video_core: Block in WaitFence.
  2. Jan 05, 2020
  3. Jan 04, 2020
  4. Jan 03, 2020
  5. Jan 02, 2020
  6. Jan 01, 2020
  7. Dec 30, 2019
  8. Dec 29, 2019
  9. Dec 28, 2019
  10. Dec 27, 2019
  11. Dec 26, 2019
  12. Dec 25, 2019
  13. Dec 24, 2019
  14. Dec 23, 2019
  15. Dec 22, 2019
Loading