summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/async_shaders.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-12-05video_core: Resolve more variable shadowing scenarios pt.3Lioncash1-1/+1
Cleans out the rest of the occurrences of variable shadowing and makes any further occurrences of shadowing compiler errors.
2020-11-20async_shaders: emplace threads into the worker thread vectorLioncash1-2/+2
Same behavior, but constructs the threads in place instead of moving them.
2020-11-20async_shaders: Simplify implementation of GetCompletedWork()Lioncash1-2/+1
This is equivalent to moving all the contents and then clearing the vector. This avoids a redundant allocation.
2020-11-20async_shaders: Simplify moving data into the pending queueLioncash1-13/+8
2020-11-20async_shaders: std::move data within QueueVulkanShader()Lioncash1-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.
2020-10-29async_shaders: Increase Async worker thread count for 8+ thread cpusameerj1-8/+9
Adds 1 async worker thread for every 2 available threads above 8
2020-08-24async_shaders: Mark getters as const member functionsLioncash1-3/+3
While we're at it, we can also mark them as nodiscard.
2020-08-16Remove unneeded newlines, optional Registry in shader paramsameerj1-6/+3
Addressing feedback from Rodrigo
2020-08-16Morph: Update worker allocation commentAmeer J1-1/+1
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2020-08-16move thread 1/4 count computation into allocate workers methodameerj1-2/+11
2020-08-16Address feedback, add shader compile notifier, update setting textameerj1-58/+52
2020-08-16Vk Async Worker directly emplace in cacheameerj1-53/+25
2020-08-16Address feedback. Bruteforce delete duplicatesameerj1-59/+76
2020-08-16Vk Async pipeline compilationameerj1-4/+55
2020-08-14async_shaders: Resolve -Wpessimizing-move warningLioncash1-2/+2
Prevents pessimization of the move constructor (which thankfully didn't actually happen in practice here, given std::thread isn't copyable).
2020-07-18Fix style issuesDavid Marcec1-4/+10
2020-07-17Remove duplicate configDavid Marcec1-0/+1
2020-07-17Use conditional varDavid Marcec1-5/+9
2020-07-17async shadersDavid Marcec1-0/+170