ReinUsesLisp
7afc85ba3a
video_core: Silence -Wmissing-field-initializers warnings
5 years ago
ReinUsesLisp
aa08e1bfbf
renderer_vulkan: Rename VKDevice to Device
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.
5 years ago
ReinUsesLisp
d25b097e84
video_core: Rewrite the texture cache
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.
5 years ago
Lioncash
5db4785535
video_core: Resolve more variable shadowing scenarios pt.3
Cleans out the rest of the occurrences of variable shadowing and makes
any further occurrences of shadowing compiler errors.
5 years ago
Lioncash
953aff6f0e
async_shaders: emplace threads into the worker thread vector
Same behavior, but constructs the threads in place instead of moving
them.
5 years ago
Lioncash
a15dc601be
async_shaders: Simplify implementation of GetCompletedWork()
This is equivalent to moving all the contents and then clearing the
vector. This avoids a redundant allocation.
5 years ago
Lioncash
088767da00
async_shaders: Simplify moving data into the pending queue
5 years ago
Lioncash
8ac9c08758
async_shaders: std::move data within QueueVulkanShader()
Same behavior, but avoids redundant copies.
While we're at it, we can simplify the pushing of the parameters into
the pending queue.
5 years ago
ameerj
b139341d35
async_shaders: Increase Async worker thread count for 8+ thread cpus
Adds 1 async worker thread for every 2 available threads above 8
5 years ago
Lioncash
e95290cfaf
async_shaders: Mark getters as const member functions
While we're at it, we can also mark them as nodiscard.
5 years ago
ameerj
4cb6ad9eaf
Remove unneeded newlines, optional Registry in shader params
Addressing feedback from Rodrigo
5 years ago
Ameer J
8374d79c4b
Morph: Update worker allocation comment
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
5 years ago
ameerj
b467d4dbd0
move thread 1/4 count computation into allocate workers method
5 years ago
ameerj
3fa34fa7bf
Address feedback, add shader compile notifier, update setting text
5 years ago
ameerj
5a2879a781
Vk Async Worker directly emplace in cache
5 years ago
ameerj
f029fa19bf
Address feedback. Bruteforce delete duplicates
5 years ago
ameerj
77698ae7d6
Vk Async pipeline compilation
5 years ago
Lioncash
a743375791
async_shaders: Resolve -Wpessimizing-move warning
Prevents pessimization of the move constructor (which thankfully didn't
actually happen in practice here, given std::thread isn't copyable).
5 years ago
David Marcec
578f84cdf4
Fix style issues
6 years ago
David Marcec
bab9531cc6
Remove duplicate config
6 years ago
David Marcec
73118715ca
Use conditional var
6 years ago
David Marcec
a4e811af27
async shaders
6 years ago