Lioncash
72f6214e9b
microprofile: Don't memset through std::atomic types
Two of the members of the MicroProfileThreadLog contains two std::atomic
instances. Given these aren't trivially-copyable types, we shouldn't be
memsetting the structure, given implementation details can contain other
members within it.
To avoid potential undefined behavior on platforms, we can use aggregate
initialization to zero out the members while still having well-defined
behavior.
While we're at it we can also silence some sign conversion warnings.
5 years ago
bunnei
18cce1dc8a
Merge pull request #4561 from lioncash/key-constexpr
key_manager: Make data arrays constexpr
5 years ago
ReinUsesLisp
ecde168452
video_core/host_shaders: Add CMake integration for string shaders
Add the necessary CMake code to copy the contents in a string source
shader (GLSL or GLASM) to a header file then consumed by video_core
files.
This allows editting GLSL in its own files without having to maintain
them in source files.
For now, only OpenGL presentation shaders are moved, but we can add
GLASM presentation shaders and static SPIR-V generation through
glslangValidator in the future.
5 years ago
ReinUsesLisp
82f88a0203
gl_shader_util: Use std::string_view instead of star pointer
This allows us passing any type of string and hinting the length of the
string to the OpenGL driver.
5 years ago
bunnei
88cf35db7d
Merge pull request #4549 from lioncash/files
vfs_real: Avoid redundant map lookups
5 years ago
bunnei
52a7dbf5eb
Merge pull request #4559 from lioncash/webresult
web_service: Move web_result.h into web_service
5 years ago
Lioncash
942badd1e7
registered_cache: Make use of ends_with for string suffix checking
Simplifies code.
5 years ago
Lioncash
a185b6cf21
registered_cache: Make use of designated initializers
Removes the need for comments to indicate the fields being assigned.
5 years ago
bunnei
5a675f4633
Merge pull request #4560 from lioncash/convert
core_timing: Resolve sign conversion warning
5 years ago
Lioncash
ebe30ea145
key_manager: Make data arrays constexpr
We can convert these maps into constexpr arrays to eliminate some
runtime static constructors.
5 years ago
Lioncash
beca7a0429
cpu_manager: Make use of ranged for where applicable
We can simplify a few loops by making use of ranged for.
5 years ago
Lioncash
96214f8600
core_timing: Remove unused header
5 years ago
Lioncash
aae74a55da
core_timing: Move clock initializer into constructor initializer list
Same behavior, minus unnecessary zeroing out of the pointer.
5 years ago
Lioncash
41c74f4f0c
core_timing: Resolve sign conversion warning
This constant is only ever assigned to downcount, which is a s64, not a
u64.
5 years ago
Lioncash
77d6d3bf4b
web_service: Move web_result.h into web_service
This is the only place it's actively used. It's also more appropriate
for web-related structures to be within the web service target.
Especially given this one doesn't rely on anything in the common
library.
5 years ago
ReinUsesLisp
1c61cf29b6
video_core: Initialize renderer with a GPU
Add an extra step in GPU initialization to be able to initialize render
backends with a valid GPU instance.
6 years ago
bunnei
7401b78840
Merge pull request #4521 from lioncash/optionalcache
gl_shader_disk_cache: Make use of std::nullopt where applicable
5 years ago
bunnei
915aeb2550
Merge pull request #4541 from MerryMage/yolo
dynarmic: Add unsafe optimizations
5 years ago
bunnei
39c24d07df
Merge pull request #4523 from lioncash/self-assign
macro-interpreter: Resolve -Wself-assign-field warning
5 years ago
ReinUsesLisp
39cab995e3
vk_state_tracker: Fix primitive topology
State track the current primitive topology with a regular comparison
instead of using dirty flags.
This fixes a bug in dirty flags for this particular state and it also
avoids unnecessary state changes as this property is stored in a
frequently changed bit field.
5 years ago
bunnei
ded348b94a
Merge pull request #4546 from lioncash/telemetry
common/telemetry: Migrate namespace into the Common namespace
5 years ago
bunnei
bb17f99ce6
Merge pull request #4547 from lioncash/header-concept
common/concepts: Move <type_traits> include out of the Common namespace
5 years ago
bunnei
b0564d12b2
Merge pull request #4552 from yuzu-emu/revert-4537-tz
Revert "common/time_zone: Simplify GetOsTimeZoneOffset()"
5 years ago
bunnei
55d11a0bfd
Revert "common/time_zone: Simplify GetOsTimeZoneOffset()"
5 years ago
bunnei
c35a7e8b3a
Merge pull request #4539 from lioncash/disc
common: Silence two discarded result warnings
5 years ago
bunnei
02b8956639
Merge pull request #4522 from lioncash/vulk-copy
vulkan/wrapper: Avoid unnecessary copy in EnumerateInstanceExtensionProperties()
5 years ago
Lioncash
ecb9029c6a
common/telemetry: Migrate namespace into the Common namespace
Migrates the Telemetry namespace into the Common namespace to make the
code consistent with the rest of our common code.
5 years ago
Lioncash
d9fc3abc1f
vfs_real: Resolve sign conversion warnings
5 years ago
Lioncash
182739ce1b
vfs_real: Avoid redundant map lookups
Avoids some trivially avoidable map lookups by keeping the result of
find operations around and querying them.
5 years ago
Lioncash
475e8a40ea
common/color: Migrate code over to the Common namespace
No external code makes use of this header, so we can freely change the
namespace.
5 years ago
Lioncash
e478c61eeb
common/concepts: Move <type_traits> include out of the Common namespace
This is a compiler/linker error waiting to happen.
5 years ago
bunnei
0e803716d2
Merge pull request #4381 from Morph1984/fix-open-folder-installed-title
main: Fix Open Save/Mod Locations for installed titles
5 years ago
bunnei
d41da32b19
Merge pull request #4532 from lioncash/object-name
configuration_shared: Simplify name lookup in highlighting functions
5 years ago
bunnei
ab2ebb773e
Merge pull request #4535 from lioncash/fileutil
common/fileutil: Convert namespace to Common::FS
5 years ago
bunnei
02ad0482f1
Merge pull request #4537 from lioncash/tz
common/time_zone: Simplify GetOsTimeZoneOffset()
5 years ago
bunnei
6c92f886d3
Merge pull request #4540 from lioncash/tr3
configure_hotkeys: Don't translate empty strings
5 years ago
bunnei
337c9de4bd
Merge pull request #4494 from lioncash/transcode
aes_util: Make use of non-template variant of Transcode
5 years ago
Rodrigo Locatti
dab507e850
Merge pull request #4531 from lioncash/overload
yuzu: Make use of qOverload where applicable
5 years ago
David
a705bd0ef6
Merge pull request #4443 from ameerj/vk-async-shaders
vulkan_renderer: Async shader/graphics pipeline compilation
5 years ago
bunnei
5476c87467
Merge pull request #4515 from lat9nq/pgs-menubar-config
main: Add an option to modify the currrent game's configuration
5 years ago
David
b88580e35d
Merge pull request #4520 from lioncash/pessimize
async_shaders: Resolve -Wpessimizing-move warning
5 years ago
ameerj
4cb6ad9eaf
Remove unneeded newlines, optional Registry in shader params
Addressing feedback from Rodrigo
5 years ago
bunnei
60c8e017d5
Merge pull request #4536 from lioncash/semi3
yuzu: Resolve -Wextra-semi warnings
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
6 years ago
MerryMage
1057908c3a
dynarmic: Add unsafe optimizations
5 years ago