ReinUsesLisp
73f58a249c
vulkan_instance: Initialize Vulkan instance in a separate thread
Workaround an issue on Nvidia where creating a Vulkan instance from an
active OpenGL thread disables threaded optimization on the driver.
This optimization is important to have good performance on Nvidia
OpenGL.
5 years ago
ReinUsesLisp
758731e48c
vulkan_wrapper: Pull Windows symbols
5 years ago
ReinUsesLisp
70b3c29534
gpu: Report renderer errors with exceptions
Instead of using a two step initialization to report errors, initialize
the GPU renderer and rasterizer on the constructor and report errors
through std::runtime_error.
5 years ago
ReinUsesLisp
3dac956230
tests/buffer_base: Add cached CPU writes tests
Ensure the behavior of the previous commit in tests.
5 years ago
ReinUsesLisp
9c9afa99b9
buffer_base: Add support for cached CPU writes
Some games usually write memory pages currently used by the GPU, causing
rendering issues (e.g. flashing geometry and shadows on Link's
Awakening). To workaround this issue, Guest CPU writes are delayed until
the command buffer finishes processing, but the pages are updated
immediately.
The overall behavior is:
- CPU writes are cached until they are flushed, they update the page
state, but don't change the modification state. Cached writes stop
pages from being flushed, in case games have meaningful data in it.
- Command processing writes (e.g. push constants) update the page state
and are marked to the command processor as dirty. They don't remove
the state of cached writes.
5 years ago
bunnei
293f0c7f24
Merge pull request #5877 from ameerj/res-limit-usage
kernel: More accurately utilize resource_limit
5 years ago
ameerj
faae6b5595
kernel: More accurately reserve and release resources
5 years ago
ameerj
48b09cc56d
kernel: KScopedReservation implementation
This implements KScopedReservation, allowing resource limit reservations to be more HW accurate, and release upon failure without requiring too many conditionals.
5 years ago
Chloe
e62886ead0
kernel: Unify result codes ( #5890 )
* kernel: Unify result codes
Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways.
* oops
* rename errors to svc_results
5 years ago
bunnei
24ae113fc8
Merge pull request #5902 from lioncash/core-warn
core: Silence various warnings on Clang 12
5 years ago
bunnei
152e089482
Merge pull request #5869 from german77/mousePanning
input_common: Add mouse panning
5 years ago
bunnei
52bece246f
Merge pull request #5908 from Morph1984/swkbd-finalize
software_keyboard: Implement Finalize request command
5 years ago
Morph
118e33cfa9
software_keyboard: Implement Finalize request command
5 years ago
bunnei
cba1eb8f32
Merge pull request #5893 from lioncash/input
configure_input_player_widget: Minor cleanup
5 years ago
LC
2952be3145
Merge pull request #5904 from lat9nq/common-sized-dealloc
common: Add -fsized-deallocation as a Clang flag
5 years ago
LC
bd7d2e6e69
Merge pull request #5905 from lat9nq/core-sized-dealloc
core: Add -fsized-dealloction as a Clang flag
5 years ago
LC
c3bf0340aa
Merge pull request #5903 from lat9nq/config-silence-warns
configure_input_player_widget: Silence unused variable warnings
5 years ago
lat9nq
187d76e48e
configure_input_player_widget: Silence unused variable warnings
Prevents clang 11 from throwing an error since these variables are
unused.
5 years ago
lat9nq
19dad3e319
common: Add -fsized-deallocation as a Clang flag
Prevents an operator delete error when compiling with Clang 11.
5 years ago
lat9nq
51b74a317b
core: Add -fsized-dealloction as a Clang flag
Prevents a operator delete error when compiling with Clang 11.
5 years ago
Ameer J
e5b68ec93e
Merge pull request #5901 from lioncash/input-warn
udp: Silence warnings on Clang 12
5 years ago
bunnei
50a42d9a50
Merge pull request #5900 from lioncash/unused-func
video_core: Remove unused functions and variables
5 years ago
Lioncash
2f9cc2f0ae
bsd: Remove usage of optional emplace() with no arguments
Clang 12 currently falls over in the face of this.
5 years ago
Lioncash
771865bdfc
am/controller: Remove [[fallthrough]] from unreachable path
Prevents warnings on clang 12. This path is reachable on other
variations of the build that disable the unreachable macro.
5 years ago
Lioncash
32e763c64c
nfp: Correct uninitialized size being used within GetTagInfo()
We were previously the name of the object being initialized within its
own initializer, which results in uninitialized data being read.
5 years ago
Lioncash
4681f5b60b
udp: Silence unused member variable warnings
Simply mark them as unused for now.
5 years ago
Lioncash
70b6d985e7
udp/client: Define ClientData constructor/destructor in cpp file
Prevents compilation errors on clang 12 due to incomplete types within a
unique_ptr member.
5 years ago
Lioncash
3f3fbe779e
gl_rasterizer: Remove unused variables
Resolves warnings on clang 12
5 years ago
Lioncash
cb80206c8c
texture_cache/util: Remove unused functions
Silences a few warnings on clang 12.
5 years ago
Lioncash
e4e97e5577
configure_input_player_widget: Reduce duplication of array accessors where applicable
Reduces the amount of code to read in expressions a little bit by
separating constituents out a little.
5 years ago
Lioncash
a903d18db2
configure_input_player_widget: Avoid nontrivial copies where applicable
Previously a function was copying an array of 20 std::string instances
by value.
5 years ago
Jatoxo
4bf6e49bda
Settings: Add depth to Joysticks on Pro Controller preview ( #5894 )
* Add some depth to ProJoysticks
* address comments
* clang
* address nits
* fix wrong inner_offset when offset.x was 0
5 years ago
Morph
2702b43c69
Merge pull request #5899 from ameerj/ffmpeg-revert
cmake: Revert FFmpeg 4.3.1 update for Windows builds
5 years ago
ameerj
2982e1c55c
cmake: Revert FFmpeg 4.3.1 update for Windows builds
The new 4.3.1 externals build seems to not be compatible with yuzu. This also fixes an oversight when renaming CMake variables.
5 years ago
Ameer J
a4606a986a
Merge pull request #5880 from lat9nq/ffmpeg-external
cmake: FFmpeg linking rework
5 years ago
bunnei
e9fc670bff
Merge pull request #5892 from german77/backup
olsc: Stub GetSaveDataBackupSetting
5 years ago
bunnei
eaacb5047c
Merge pull request #5868 from german77/HandheldFix
Prevent over scheduling audio events and add motion update unschedule event
5 years ago
Schplee
84250e5be5
README Edit for EA
5 years ago
LC
7e0355f55b
Merge pull request #5895 from Morph1984/utf16-cvt
string_util: Remove MSVC workaround for converting between UTF8/UTF16
5 years ago
Morph
1b1866e7ee
string_util: Remove MSVC workaround for converting between UTF8/UTF16
This has been fixed as of Visual Studio 2019 Version 16.2
5 years ago
bunnei
da2a91a019
Merge pull request #5339 from german77/interactive
Settings: Make settings controller image change with controller input
5 years ago
german
0210c4e219
olsc: Stub GetSaveDataBackupSetting
5 years ago
german
c7cae8769f
Add mouse panning
5 years ago
Chloe
a5dd2bb598
Merge pull request #5872 from lioncash/svc-error
svc: Provide more detailed error logs for svc functions
5 years ago
Rodrigo Locatti
634c18b3ff
Merge pull request #5888 from Morph1984/ogl-4.6
renderer_opengl: Update OpenGL backend version requirement to 4.6
5 years ago
LC
2112335647
Merge pull request #5889 from ogniK5377/morton-remove
video_core: Delete morton
5 years ago
Chloe Marcec
66c653566c
video_core: Delete morton
moron.h & morton.cpp are not used anywhere and are just empty files
5 years ago
Morph
657ac39f45
renderer_opengl: Update OpenGL backend version requirement to 4.6
5 years ago
bunnei
c7b2027e8f
Merge pull request #5887 from ogniK5377/lm-fix
lm: Fix ReadLeb128
5 years ago
Morph
708c6ef06b
Merge pull request #5878 from aleasto/master
pl_u: Fix read out of bounds
5 years ago