summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/async_shaders.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* video_core: Resolve more variable shadowing scenarios pt.3Lioncash2020-12-051-1/+1
| | | | | Cleans out the rest of the occurrences of variable shadowing and makes any further occurrences of shadowing compiler errors.
* async_shaders: emplace threads into the worker thread vectorLioncash2020-11-201-2/+2
| | | | | Same behavior, but constructs the threads in place instead of moving them.
* async_shaders: Simplify implementation of GetCompletedWork()Lioncash2020-11-201-2/+1
| | | | | This is equivalent to moving all the contents and then clearing the vector. This avoids a redundant allocation.
* async_shaders: Simplify moving data into the pending queueLioncash2020-11-201-13/+8
|
* async_shaders: std::move data within QueueVulkanShader()Lioncash2020-11-201-2/+2
| | | | | | | Same behavior, but avoids redundant copies. While we're at it, we can simplify the pushing of the parameters into the pending queue.
* async_shaders: Increase Async worker thread count for 8+ thread cpusameerj2020-10-291-8/+9
| | | | Adds 1 async worker thread for every 2 available threads above 8
* async_shaders: Mark getters as const member functionsLioncash2020-08-241-3/+3
| | | | While we're at it, we can also mark them as nodiscard.
* Merge pull request #4443 from ameerj/vk-async-shadersDavid2020-08-171-25/+65
|\ | | | | vulkan_renderer: Async shader/graphics pipeline compilation
| * Remove unneeded newlines, optional Registry in shader paramsameerj2020-08-161-6/+3
| | | | | | | | Addressing feedback from Rodrigo
| * Morph: Update worker allocation commentAmeer J2020-08-161-1/+1
| | | | | | Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
| * move thread 1/4 count computation into allocate workers methodameerj2020-08-161-2/+11
| |
| * Address feedback, add shader compile notifier, update setting textameerj2020-08-161-58/+52
| |
| * Vk Async Worker directly emplace in cacheameerj2020-08-161-53/+25
| |
| * Address feedback. Bruteforce delete duplicatesameerj2020-08-161-59/+76
| |
| * Vk Async pipeline compilationameerj2020-08-161-4/+55
| |
* | async_shaders: Resolve -Wpessimizing-move warningLioncash2020-08-141-2/+2
|/ | | | | Prevents pessimization of the move constructor (which thankfully didn't actually happen in practice here, given std::thread isn't copyable).
* Fix style issuesDavid Marcec2020-07-181-4/+10
|
* Remove duplicate configDavid Marcec2020-07-171-0/+1
|
* Use conditional varDavid Marcec2020-07-171-5/+9
|
* async shadersDavid Marcec2020-07-171-0/+170