summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/async_shaders.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-07-23shader: Remove old shader managementReinUsesLisp1-234/+0
2021-02-14yuzu: Various frontend improvements to avoid crashes and improve experience on Linux.bunnei1-0/+1
2021-01-24video_core: Silence -Wmissing-field-initializers warningsReinUsesLisp1-0/+18
2021-01-03renderer_vulkan: Rename VKDevice to DeviceReinUsesLisp1-1/+1
The "VK" prefix predates the "Vulkan" namespace. It was carried around the codebase for consistency. "VKDevice" currently is a bad alias with "VkDevice" (only an upcase character of difference) that can cause confusion. Rename all instances of it.
2020-12-30video_core: Rewrite the texture cacheReinUsesLisp1-5/+4
The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues.
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