Kelebek1
2e478a66cf
Fix Tears of the Kingdom flickering clouds and depths.
2023-05-11 19:25:24 +01:00
liamwhite
4838605114
Merge pull request #10132 from Kelebek1/fermi_blit2
...
Allow Fermi blit accelerate to work without images in cache
2023-05-11 10:45:59 -04:00
liamwhite
855502e669
Merge pull request #10216 from Kelebek1/buffer_cache_region_checks
...
Swap order of checking/setting region modifications in the buffer_cache
2023-05-11 10:45:47 -04:00
Kelebek1
fc6c77f7ae
Allow Fermi blit accelerate to add src/dst to the cache if they don't exist already. Use ScratchBuffers in the software blit path.
2023-05-11 06:42:38 +01:00
grimkor
ba492a616d
Allow fully customisable controller hotkeys
2023-05-10 19:28:11 +01:00
Liam
66732f3e22
renderer_vulkan: separate guest and host compute descriptor queues
2023-05-10 13:46:48 -04:00
liamwhite
c6ac5d9d74
Merge pull request #10207 from german77/amiibo_cheater
...
service: nfp: Allow to load with a different amiibo id
2023-05-10 10:25:48 -04:00
Narr the Reg
4c16baf028
Merge pull request #10119 from marius851000/improved_non_hd_feeback
...
Attempt at improving HD Rumble emulation
2023-05-09 22:59:32 -06:00
Narr the Reg
cc610d369c
service: nfc: Seed all random values
2023-05-09 17:54:07 -06:00
german77
e43d1c20d5
service: nfp: Allow to load with a different amiibo id
2023-05-09 17:51:59 -06:00
Kelebek1
b72b1f0a4e
Use the rendertarget format of the correct RT rather than the first valid
2023-05-09 22:13:15 +01:00
Kelebek1
05dcdf5793
Swap order of checking/setting region modifications in the buffer_cache
2023-05-09 20:21:08 +01:00
liamwhite
0365c544c5
Merge pull request #10183 from liamwhite/mods
...
vfs_vector: avoid n^2 lookup in layeredfs building
2023-05-09 09:47:36 -04:00
liamwhite
a6dbefe99e
Merge pull request #10203 from german77/calibration
...
core: hid: Allow to calibrate gyro sensor
2023-05-09 09:47:29 -04:00
liamwhite
53f6273e15
Merge pull request #10206 from FernandoS27/astc-3d
...
Texture Cache: Fix 3D ASTC textures
2023-05-09 09:47:22 -04:00
german77
5d49fffd67
input_common: Fix nfc detection for joycons
2023-05-09 00:32:53 -06:00
Fernando Sahmkow
a1317c3a6e
Texture Cache: Fix ASTC textures
2023-05-09 02:42:10 +02:00
Jan Beich
5a4e361862
qt_common: consistently ifdef QPlatform after 17507c4849
...
src/yuzu/qt_common.cpp:45:33: error: member access into incomplete type 'QPlatformNativeInterface'
wsi.display_connection = pni->nativeResourceForWindow("display", window);
^
/usr/include/qt6/QtGui/qguiapplication.h:20:7: note: forward declaration of 'QPlatformNativeInterface'
class QPlatformNativeInterface;
^
src/yuzu/qt_common.cpp:47:42: error: member access into incomplete type 'QPlatformNativeInterface'
wsi.render_surface = window ? pni->nativeResourceForWindow("surface", window) : nullptr;
^
/usr/include/qt6/QtGui/qguiapplication.h:20:7: note: forward declaration of 'QPlatformNativeInterface'
class QPlatformNativeInterface;
^
2023-05-08 20:47:16 +00:00
Narr the Reg
5dd7748371
yuzu: Make 3d cube with joycon shape
2023-05-08 12:06:39 -06:00
Narr the Reg
63ab5ee887
core: hid: Allow to calibrate gyro sensor
2023-05-08 12:06:38 -06:00
lat9nq
f7cd4ecf9b
configure_graphics_advanced: Hide input compute toggle a little later
...
SetColoredTristate causes the setting to become visible as it calls
`show()` on it.
2023-05-08 12:32:56 -04:00
bunnei
0b1cffbd9c
Merge pull request #10075 from Kelebek1/silence_nifm_spam
...
Silence network spam
2023-05-07 17:45:32 -07:00
Liam
69b754f096
bootmanager: remove stop_token header
2023-05-07 19:20:09 -04:00
liamwhite
11e88239ec
Merge pull request #10195 from german77/mutex
...
core: hid: Update motion on a better place
2023-05-07 19:06:10 -04:00
Liam
174bad7011
vfs_layered: avoid n^2 lookup in layeredfs building
2023-05-07 19:03:41 -04:00
german77
62acd50c0b
core: hid: Update motion on a better place
2023-05-07 17:01:57 -06:00
Fernando Sahmkow
5fa8c8685e
Texture cache: Only force flush the dma downloads
2023-05-07 23:46:12 +02:00
Fernando Sahmkow
8203f2d8e1
Buffer Cache: disable reactive flushing in it.
2023-05-07 23:46:12 +02:00
Fernando Sahmkow
a7a63d119c
Texture cache: reverse inmediate flush changes
2023-05-07 23:46:12 +02:00
Fernando Sahmkow
1a2ed85a28
Buffer cache: always use async buffer downloads and fix regression.
2023-05-07 23:46:12 +02:00
Fernando Sahmkow
134c14f089
Address feedback, add CR notice, etc
2023-05-07 23:46:12 +02:00
Fernando Sahmkow
dffc48b942
Query cache: stop updating pages as it's not affected by cpu writes
2023-05-07 23:46:12 +02:00
Fernando Sahmkow
62295b5069
Settings: add option to enable / disable reactive flushing
2023-05-07 23:46:12 +02:00
Fernando Sahmkow
f1aa574448
Texture cache: sync the first flush.
2023-05-07 23:46:12 +02:00
Fernando Sahmkow
6bc60f78d9
GPU: Add Reactive flushing
2023-05-07 23:46:12 +02:00
Liam
b0c0344388
vfs_vector: avoid n^2 lookup in layeredfs building
2023-05-07 16:50:35 -04:00
bunnei
36a670a4c9
Merge pull request #10097 from german77/nfp_full
...
service: nfc: Merge device interfaces and create the device manager
2023-05-07 12:18:09 -07:00
liamwhite
28ed548196
Merge pull request #10081 from Kelebek1/copy_overlap_tick
...
Sort overlap_ids by modification tick before copy
2023-05-07 14:09:10 -04:00
liamwhite
de45be2681
Merge pull request #10172 from Kelebek1/debug_validation_names
...
Log object names with debug renderer, add a GPU address to ImageViews
2023-05-07 14:09:03 -04:00
QGJ
5c66c9dec4
yuzu/applets/qt_profile_select: connect double-click to accept()
...
In the profile selection window:
Allow the user to start the game by double-clicking a profile to avoid having to additionally click the OK button. This avoids an unnecessary "step" to the start of the game...
2023-05-07 18:05:42 +02:00
Kelebek1
ac49a29b85
Fix address space allocator slow path to avoid OOB
2023-05-07 15:11:16 +01:00
bunnei
8be489f752
Merge pull request #10180 from german77/debug
...
input_common: Revert debugging changes
2023-05-06 22:26:53 -07:00
german77
5776810598
input_common: Revert debugging changes
2023-05-06 23:06:44 -06:00
lat9nq
409c6af0e4
yuzu-qt/config: Add option to disable compute on Intel
...
This option is only visible if an Intel GPU using the proprietary
driver is found during Vulkan device enumeration.
configure_graphics: More directly get driver id
Vulkan::Device does quite a bit more than we need just to see the
driver ID here.
2023-05-07 01:06:22 -04:00
lat9nq
98f6fbd31c
vk_pipeline_cache: Use setting to disable intel compute
2023-05-07 01:06:22 -04:00
lat9nq
90f4126609
settings: Add enable compute pipelines
...
For the Intel proprietary driver's deficiencies.
settings: Restore compute option global state
2023-05-07 01:06:20 -04:00
bunnei
12c4c09b3f
Merge pull request #10125 from lat9nq/vsync-select
...
configuration: Expose separate swap present modes
2023-05-06 21:55:39 -07:00
bunnei
fdb3652f12
Merge pull request #10174 from german77/motriod
...
input_common: Add experimental motion to button
2023-05-06 21:40:20 -07:00
liamwhite
0018e53745
Merge pull request #10162 from lat9nq/sdl-remove-old
...
yuzu-sdl,audio_core: Remove antiquated warning ignore
2023-05-06 23:10:09 -04:00
liamwhite
1911b50d34
Merge pull request #10167 from german77/motion_preview
...
yuzu: Add motion preview to controller input
2023-05-06 23:09:55 -04:00
Roni Kirla
5d02eca7c9
Fix read access violation
2023-05-07 00:13:33 +03:00
german77
7b41e71877
input_common: Add experimental motion to button
2023-05-05 22:49:56 -06:00
Narr the Reg
2a36d667c9
service: nfc: Merge device interfaces and create the device manager
2023-05-05 22:02:59 -06:00
Kelebek1
d43a18a6ef
Log object names with debug renderer, add a GPU address to ImageViews
2023-05-06 04:48:32 +01:00
Narr the Reg
53ec77c62c
input_common: Add property to invert an axis button
2023-05-05 17:18:35 -06:00
Narr the Reg
94c16132ba
yuzu: Add motion preview to controller input
2023-05-05 13:53:38 -06:00
bunnei
7ef5ca4f59
Merge pull request #10159 from german77/home_screenshot
...
core: hid: Fix state of capture and home buttons
2023-05-05 12:02:15 -07:00
marius david
f5827baefe
Improve emulation of HD Rumble
2023-05-05 19:30:40 +02:00
lat9nq
be5eee647e
yuzu-sdl,audio_core: Remove antiquated warning ignore
...
Issue was fixed a long time ago, both by SDL2 and in yuzu by including
SDL2 as a system library.
2023-05-05 03:48:28 -04:00
german77
dbef75ecdd
core: hid: Fix state of capture and home buttons
2023-05-04 22:36:59 -06:00
liamwhite
fceef23303
Merge pull request #10128 from Kelebek1/audren_terminate
...
Wait for the terminate event before destroying a system instance
2023-05-04 14:44:09 -04:00
liamwhite
64e46e723a
Merge pull request #10145 from Kelebek1/code_size
...
Fix shader code resize to use word size rather than byte size
2023-05-04 14:44:02 -04:00
Fernando S
c9a31835b6
Merge pull request #10153 from FernandoS27/a-quickie-fixie
...
Memory manager: Fix possible softlock
2023-05-04 03:56:53 +02:00
Fernando S
9f2dd6f328
Merge pull request #10154 from liamwhite/optimistic
...
settings: remove pessimistic flushing
2023-05-04 01:55:51 +02:00
bunnei
edac11f6c8
Merge pull request #10142 from FernandoS27/missing-astc
...
GPU: implement missing ASTC
2023-05-03 16:49:27 -07:00
Liam
f50b8635b3
settings: remove pessimistic flushing
2023-05-03 18:52:42 -04:00
Fernando Sahmkow
d9b4380457
Memory manager: Fix possible softlock
2023-05-04 00:15:21 +02:00
lat9nq
fa8da0ded9
qt_common: Remove yuzu prefix
2023-05-03 18:11:53 -04:00
bunnei
6f10c3fcd8
Merge pull request #10088 from FernandoS27/100-gelato-flavor-test-builds-later
...
Y.F.C Implement Asynchronous Fence manager and Rework Query async downloads
2023-05-03 15:10:22 -07:00
bunnei
dd78368441
Merge pull request #10117 from liamwhite/sync-register
...
kernel: match calls to Register and Unregister
2023-05-03 09:07:19 -07:00
Fernando Sahmkow
94ecd260e3
GPU: implement missing ASTC
2023-05-03 11:33:28 -04:00
liamwhite
58b38d1761
Merge pull request #10151 from GPUCode/no-softlocks-please
...
Fix softlocks when disabling async present
2023-05-03 10:54:24 -04:00
Morph
2f29ad9d7e
Merge pull request #10144 from liamwhite/dont-turbo
...
vulkan: disable turbo when debugging tool is attached
2023-05-03 10:53:03 -04:00
Morph
5e21f326b2
Merge pull request #10143 from liamwhite/fruit-company-moment
...
video_core: fix build on Apple Clang
2023-05-03 10:52:56 -04:00
Morph
069637f4ff
Merge pull request #10124 from liamwhite/pebkac
...
settings: rename extended memory layout to unsafe, move from general to system
2023-05-03 10:52:45 -04:00
GPUCode
40fa53e6d7
vk_present_manager: Fix softlocks when disabling async present
2023-05-03 07:50:10 +03:00
lat9nq
047ee6733f
configure_graphics: No there isn't a hyphen in VSync
...
Most sources seem to suggest VSync and not V-Sync
2023-05-02 21:52:43 -04:00
lat9nq
41e7765eb5
configure_input_player: Add missing include
...
Cleaning up includes in bootmanager and configure_graphics has exposed a
missing include here.
2023-05-02 21:52:43 -04:00
lat9nq
e382ab8058
configure_graphics: Clean up includes [IWYU]
2023-05-02 21:52:43 -04:00
lat9nq
a4322198be
bootmanager: Clean up includes [IWYU]
...
bootmanager: Remove system-specific headers
IWYU can be too complete I suppose.
2023-05-02 21:52:43 -04:00
lat9nq
40108e515b
configure_graphics: Actively find present modes
...
When Vulkan devices are enumerated, this also determines the available
present modes for each device, maps them to a vector, and gives
those options to the user.
OpenGL options are limited to On/Off.
Required creating a VkSurfaceKHR during device enumeration, which
may or may not be desireable. For the sake of a less confusing UI.
Also fixes a bug where if a graphics device disappears on the host, we
don't try and select the non-existant devices.
configure_graphics: Remove vsync runtime lock for Vulkan
configure_graphics: Recommend Mailbox present mode
configure_graphics: Fix type-limits warning
configure_graphics: Clean up includes
configure_graphics: Add tooltip
2023-05-02 21:52:43 -04:00
lat9nq
cef9dca85f
vk_swapchain: Use certain modes for unlocked
...
Uses mailbox, then immediate for unlocked framerate depending on
support for either. Also adds support for FIFO_RELAXED.
This function now assumes vsync_mode was originially configured to a value
that the driver supports.
vk_swapchain: ChooseSwapPresentMode determines updates
Simplifies swapchain a bit and allows us to change the present mode
during guest runtime.
vk_swapchain: Fix MSVC error
vk_swapchain: Enforce available present modes
Some frontends don't check the value of vsync_mode before comitting it.
Just as well, since a driver update or misconfiguration could problems
in the swap chain.
vk_swapchain: Silence warnings
Silences GCC warnings implicit-fallthrough and shadow, which apparently
are not enabled on clang.
2023-05-02 21:52:43 -04:00
lat9nq
3573979d27
bootmanager: Remove inaccurate switch
...
Those vulkan settings do not correspond 1:1 to the swap intervals that
they set for OpenGL, so remove it.
bootmanager: Add missing include
I didn't add this log why did it break
2023-05-02 21:51:30 -04:00
lat9nq
17507c4849
qt_common: Move window info function out of bootmanager
...
Function is useful outside of bootmanager, so put it in a common place.
qt_common: Add missing include
qt_common: Add some newlines
qt_common: Add trailing newline
qt_common: Add trainline newline
2023-05-02 21:51:30 -04:00
lat9nq
ff2197130f
vulkan_surface: Pass only window info for surface creation
...
We don't need the whole EmuWindow when creating a surface,
and it creates onerous requirements outside of typical usage for
creating a surface elsewhere.
2023-05-02 21:51:30 -04:00
lat9nq
2cca81495e
settings: Enable FIFO relaxed
...
Not entirely sure if we need this, but there's also no reason not to
support it.
settings: Give VSyncMode values
2023-05-02 21:51:30 -04:00
lat9nq
bd25f22842
configure_graphics: Fix another typo
2023-05-02 21:51:29 -04:00
lat9nq
7bffe8ce02
telemetry_session: Make translate function static
...
Addresses review feedback
Co-authored-by: Lioncash <mathew1800@gmail.com>
2023-05-02 21:51:29 -04:00
lat9nq
178a4e3e2d
bootmanager: Return value in impossible case
...
The setting is ranged, so this return statement is unreachable.
But GCC can't tell I guess.
2023-05-02 21:51:29 -04:00
lat9nq
01d93d094f
configure_graphics: Fix typo
2023-05-02 21:51:29 -04:00
lat9nq
a0f34fb0a1
default_ini: Update V-Sync description
...
default_ini: Update vsync text
default_ini: Add tooltip from configure_graphics
2023-05-02 21:51:29 -04:00
lat9nq
581d8f34ee
configuration: Expose separate swap present modes
...
Previously, yuzu would try and guess which vsync mode to use given
different scenarios, but apparently we didn't always get it right. This
exposes the separate modes in a drop-down the user can select.
If a mode isn't available in Vulkan, it defaults to FIFO.
2023-05-02 21:51:29 -04:00
bunnei
35b4802239
Merge pull request #9973 from GPUCode/async-present
...
Implement asynchronous presentation
2023-05-02 17:54:57 -07:00
Kelebek1
3fc1615e28
Fix code resize to use word size rather than byte size
2023-05-02 23:52:21 +01:00
liamwhite
28126a6754
Merge pull request #10133 from lat9nq/clang-shadow-and-fallthrough
...
CMakeLists: Enable more checks on Clang
2023-05-02 18:18:46 -04:00
liamwhite
7b7531a7f3
Merge pull request #10130 from liamwhite/keys
...
qt: warn on inoperable keys
2023-05-02 18:17:24 -04:00
liamwhite
ccea9408c7
Merge pull request #10123 from Kelebek1/sample_mask
...
Define SampleMask as an array
2023-05-02 18:17:15 -04:00
Liam
44b15592e8
vulkan: disable turbo when debugging tool is attached
2023-05-02 18:14:57 -04:00
Liam
2438a0b087
video_core: fix build on Apple Clang
2023-05-02 18:05:30 -04:00
lat9nq
13a0b058bb
CMake: Enable type limits on Clang
2023-05-02 02:07:36 -04:00
lat9nq
bcb8e1491a
CMakeLists: Enable checks on Clang
...
Enables shadow-uncaptured-locals and implicit-fallthrough for Clang.
implicit-fallthrough is not enabled by default in -Wall or -Wextra, and
shadow-uncaptured-local doesn't seem to be enabled by default by
-Wshadow, even though GCC has both of these by their respective cases.
2023-05-02 01:57:22 -04:00
GPUCode
d56a40606c
vk_present_manager: Add toggle for async presentation
2023-05-01 23:13:24 +03:00
GPUCode
f9514cbc51
vk_blit_screen: Recreate FSR when frame is recreated
...
* Depends on the layout dimentions and thus should be recreated as well
2023-05-01 23:13:24 +03:00
GPUCode
373cfc636c
renderer_vulkan: Fix crashing when updating descriptors
...
* During pipeline configure the function would acquire some payload space from the descriptor update queue,
write the descriptor data on the GPU thread and give the scheduler a pointer to the beginning of said space to update it later.
TickFrame resets the payload cursor, used to track acquires, back to the beginning of the buffer.
This wasn't a problem before since WaitWorker was called at the end of the frame but now it is.
If a frame writes to a cursor before the scheduler catches up, it will crash
* To fix this the payload buffer has been increased to account for the in flight frames that are allowed to exist now.
TickFrame will switch between the payload spaces instead of resetting
2023-05-01 23:13:24 +03:00
GPUCode
8eede48a39
renderer_vulkan: Async presentation
2023-05-01 23:13:24 +03:00
Morph
98d1e50fb9
Merge pull request #10084 from FernandoS27/yuzu-goes-broom-broom
...
Y.F.C Buffer Cache Revamp
2023-05-01 11:08:02 -04:00
liamwhite
5de7095aa9
Merge pull request #10116 from liamwhite/deboost
...
kernel: remove boost intrusive lists
2023-05-01 09:27:23 -04:00
Fernando Sahmkow
bd8abfe654
BufferCache: Fixes and address feedback
2023-05-01 11:43:26 +02:00
Liam
0dcc190ccc
qt: warn on inoperable keys
2023-04-30 23:47:42 -04:00
Kelebek1
967e5b2873
Wait for the terminate event before destroying a system instance
2023-05-01 00:27:12 +01:00
Liam
bdaf10ec9e
settings: rename extended memory layout to unsafe, move from general to system
2023-04-30 14:24:22 -04:00
Kelebek1
dc9546fe26
Define SampleMask as an array
2023-04-30 18:37:37 +01:00
bunnei
4bcb509bbb
Merge pull request #10110 from Morph1984/intel-disable-compute
...
vk_pipeline_cache: Skip compute pipelines on Intel proprietary drivers
2023-04-29 23:02:45 -07:00
Liam
370a0526a5
kernel: remove general boost lists
2023-04-29 22:11:32 -04:00
Liam
7afcc29ac8
kernel: match calls to Register and Unregister
2023-04-29 21:52:26 -04:00
Liam
1458a4cdc3
common: add intrusive list type
2023-04-29 17:46:26 -04:00
Fernando Sahmkow
f5d2ae4c5e
Texture Cache: Release stagging buffers on tick frame
2023-04-29 15:31:38 +02:00
Fernando Sahmkow
6e18a08510
Buffer Cache: Release stagging buffers on tick frame
2023-04-29 00:46:31 +02:00
Fernando Sahmkow
b328059505
Tests: Add memory tracker tests.
2023-04-29 00:46:31 +02:00
Fernando Sahmkow
917a21317f
Clang: format and ficx compile errors.
2023-04-29 00:46:31 +02:00
Fernando Sahmkow
cd4d4072c7
Implement Async downloads in normal and fix a few issues.
2023-04-29 00:46:31 +02:00
Fernando Sahmkow
139995905e
Buffer Cache rework: Setup async downloads.
2023-04-29 00:46:31 +02:00
Fernando Sahmkow
64c9a90c20
Buffer Cache: Fully rework the buffer cache.
2023-04-29 00:46:31 +02:00
Fernando Sahmkow
cf34f7c745
Address Feedback & Clang Format
2023-04-29 00:18:21 +02:00
Fernando Sahmkow
3595172637
Maxwell3D: only update parameters on High
2023-04-29 00:18:21 +02:00
Fernando Sahmkow
b22e1a2bce
Accelerate DMA: Use texture cache async downloads to perform the copies
...
to host.
WIP
2023-04-29 00:18:21 +02:00
Fernando Sahmkow
e2bfd9e8c4
TextureCache: refactor DMA downloads to allow multiple buffers.
2023-04-29 00:18:21 +02:00
Morph
79d97d07e2
vk_pipeline_cache: Skip compute pipelines on Intel proprietary drivers
...
Intel's SPIR-V shader compiler is broken. For now, skip compiling any compute pipelines until they fix this issue.
This is not a perfect workaround, as there are a small subset of non-compute pipelines that still cause it to crash, but this should cover the majority of crashes.
It is unfortunate that even with a test case reported 6 months ago the issue has not been fixed in favor of fixing "the most popular games and apps".
Intel, you can do better than this.
2023-04-28 17:59:36 -04:00
Fernando Sahmkow
0da4b879eb
QueryCache: Fix write invalidation.
2023-04-28 23:53:46 +02:00
Fernando Sahmkow
ff3cf7c1d9
MemoryManager: Fix race conditions.
2023-04-28 23:53:02 +02:00
german77
7ed3f00c30
core: service: Add FunctionInfoTyped to allow expanding existing interfaces
2023-04-25 23:36:24 -06:00
Fernando Sahmkow
f606fa3515
Clang format and ddress feedback
2023-04-24 12:38:47 +02:00
Fernando S
f430449ddb
Merge pull request #10051 from liamwhite/surface-capabilities
...
vulkan: pick alpha composite flags based on available values
2023-04-24 12:37:13 +02:00
Fernando S
fa3ff7a6d5
Merge pull request #10056 from vonchenplus/audout_u
...
core: audio: return result when audio_out initialize failed
2023-04-24 12:36:52 +02:00
Fernando S
f151023e45
Merge pull request #10069 from liamwhite/log
...
maxwell_3d: fix out of bounds array access in size estimation
2023-04-24 12:36:24 +02:00
Narr the Reg
f8d2ab4660
service: nfc: Create mifare interface
2023-04-23 23:28:09 -06:00
Narr the Reg
db242ac13f
service: nfc: Create interface
2023-04-23 23:28:09 -06:00
Fernando Sahmkow
abe4e83b45
QueryCache: rework async downloads.
2023-04-23 22:04:14 +02:00
Fernando Sahmkow
eeffe68b7f
Accuracy Normal: reduce accuracy further for perf improvements in Project Lime
2023-04-23 22:03:44 +02:00
Fernando Sahmkow
ae99dcd531
Fence Manager: implement async fence management in a sepparate thread.
2023-04-23 04:48:50 +02:00
Liam
b84bab419c
maxwell_3d: fix out of bounds array access in size estimation
2023-04-22 10:35:26 -04:00
Kelebek1
325a8febfc
Silence nifm spam
2023-04-22 14:29:58 +01:00
Kelebek1
477cbd067e
Sort overlap_ids by modification tick before copy
2023-04-22 14:02:10 +01:00
Fernando S
abcc622dae
Merge pull request #10074 from Kelebek1/fermi_blit
...
Account for a pre-added offset when using Corner sample mode for 2D blits
2023-04-22 12:06:00 +02:00
bunnei
afe8b9f018
Merge pull request #10076 from german77/TryPopMyFriend
...
core: am: Demote TryPopFromFriendInvitationStorageChannel Log level
2023-04-21 23:15:07 -07:00
bunnei
a2a174be44
Merge pull request #10068 from twitchax/twitchax/dr_bind_address
...
Allow passing `--bind-address` to dedicated room.
2023-04-21 23:13:51 -07:00
bunnei
e7ce0db272
Merge pull request #10060 from german77/no_dead
...
core: hid: Remove deadzone of virtual controller
2023-04-21 23:13:21 -07:00
german77
1ec8e38f3f
core: am: Demote TryPopFromFriendInvitationStorageChannel Log level
2023-04-21 22:35:45 -06:00
Kelebek1
0397e174ae
Account for a pre-added offset when using Corner sample mode for 2D blits
2023-04-21 19:08:21 +01:00
bunnei
09822c0963
Merge pull request #10057 from liamwhite/its-not-in-the-timeline
...
vulkan: use plain fences when timeline semaphores are not available
2023-04-19 16:50:24 -07:00
Aaron Roney
9b882c3700
Run clang-format to fix all.
2023-04-19 17:52:09 +00:00
bunnei
9ad521a8dd
Merge pull request #10053 from german77/nfp_full
...
service: nfp: Implement all interfaces
2023-04-19 10:36:28 -07:00
Aaron Roney
470fbbfbf9
Fix formatting.
2023-04-19 16:26:49 +00:00
Aaron Roney
7dab022bc5
Allow passing `bind_address` to dedicated room.
2023-04-19 05:37:30 +00:00
FengChen
ea68bfba5d
core: audio: return result when audio_out initialize failed
2023-04-16 12:31:54 +08:00
german77
18bb76b6a0
core: hid: Remove deadzone of virtual controller
2023-04-15 18:41:09 -06:00
Liam
fb2af6a41e
vulkan: use plain fences when timeline semaphores are not available
2023-04-14 22:53:37 -04:00
bunnei
d1e4bc6202
Merge pull request #10030 from Wollnashorn/botw-amd-fix
...
shader_recompiler: Fix ImageGather rounding on AMD/Intel
2023-04-14 16:56:34 -07:00
Narr the Reg
5de37e921c
service: nfp: Implement debug Interface
2023-04-14 17:03:58 -06:00
Narr the Reg
c8ed98bb1c
service: nfp: Implement system interface
2023-04-14 17:03:57 -06:00
Valeri
d359ae51a3
input_common: minor fix to mouse movement
2023-04-14 21:27:35 +03:00
Narr the Reg
52447e1b58
service: nfp: Use an unique interface
2023-04-13 22:24:27 -06:00
Liam
e2b2842929
vulkan: pick alpha composite flags based on available values
2023-04-13 16:38:20 -04:00
Wollnashorn
111c02760b
video_core: Enable ImageGather rounding fix on AMD open source drivers
2023-04-12 17:11:02 +02:00
liamwhite
84efa203a7
Merge pull request #10008 from vonchenplus/texture_cache
...
video_core: update imageinfo implement
2023-04-11 11:59:18 -04:00
liamwhite
dfcd61afac
Merge pull request #10027 from bylaws/master
...
Add some explicit latency to sample count reporting
2023-04-10 09:23:48 -04:00
Liam
07d060c2d4
kernel: move more memory to application in 8GB arrangement
2023-04-09 19:50:27 -04:00
Liam
bfd120b543
kernel: switch extended memory setting to 8GB arrangement
2023-04-08 17:47:26 -04:00
Billy Laws
6b2510c7c5
Use GetGlobalTimeNs as opposed to clock ticks
2023-04-08 21:54:19 +01:00
Wollnashorn
d53aa13a33
shader_recompiler: Use vector arithmetic rather than component-wise in ImageGatherSubpixelOffset
...
Should be more efficient and better readable
2023-04-08 16:13:08 +02:00
Wollnashorn
dda107ffa7
video_core: Enable ImageGather with subpixel offset on Intel
2023-04-08 16:12:44 +02:00
Wollnashorn
45fb154f0d
shader_recompiler: Add subpixel offset for correct rounding at `ImageGather`
...
On AMD a subpixel offset of 1/512 of the texel size is applied to the texture coordinates at a ImageGather call to ensure the rounding at the texel centers is done the same way as in Maxwell or other Nvidia architectures.
See https://www.reedbeta.com/blog/texture-gathers-and-coordinate-precision/ for more details why this might be necessary.
This should fix shadow artifacts at object edges in Zelda: Breath of the Wild (#9957 , #6956 ).
2023-04-08 16:12:30 +02:00
bunnei
9ff6310097
Merge pull request #10022 from liamwhite/gcc-13
...
general: fixes for gcc 13
2023-04-08 00:09:06 -07:00
Billy Laws
5dbfd7861a
Add some explicit latency to sample count reporting
...
Some games have very tight scheduling requirements for their audio which can't really be matched on the host, adding a constant to the reported value helps to provide some leeway.
2023-04-03 23:11:36 +01:00
liamwhite
db979803fd
Merge pull request #10024 from german77/crysis
...
service: hid: Fix handle validation
2023-04-03 13:06:07 -04:00
liamwhite
fa846222da
Merge pull request #10004 from Kelebek1/cubemap
...
[texture_cache] Only upload GPU-modified overlaps
2023-04-03 13:05:52 -04:00
Liam
bbc9f0d3e9
general: fixes for gcc 13
2023-04-02 19:02:04 -04:00
german77
4c562a2c8c
service: hid: Fix handle validation
2023-04-02 02:21:54 -06:00
bunnei
3eb8207e08
Merge pull request #10020 from merryhime/update-dynarmic
...
externals: Update dynarmic to 6.4.6
2023-04-01 21:57:45 -07:00
bunnei
a09fcccb72
core: arm_dynarmic_32: Update SaveContext/LoadContext.
2023-04-01 17:03:08 -07:00
bunnei
831a0614ea
Merge pull request #9969 from bylaws/master
...
Audio synchronisation improvements
2023-04-01 14:34:59 -07:00
liamwhite
27f8a0af68
Merge pull request #10006 from german77/profile_select
...
service: am: Improve profile select applet
2023-04-01 09:49:22 -04:00
liamwhite
7aaa8bf6cd
Merge pull request #9997 from german77/cancel_controller
...
applet: controller: Implement cancel button
2023-04-01 09:49:08 -04:00
liamwhite
1ab4527a5e
Merge pull request #9999 from german77/new_hid_hurra
...
service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestination
2023-04-01 09:48:53 -04:00
liamwhite
94a0820664
Merge pull request #10017 from jbeich/vk-246
...
externals: update Vulkan-Headers to v1.3.246 to fix -Werror=switch with system package
2023-04-01 09:44:52 -04:00
bunnei
6f649f250f
Merge pull request #10005 from liamwhite/kernel-atomics
...
kernel: fix unbounded stack usage in atomics
2023-04-01 01:54:36 -07:00
Jan Beich
604f887377
externals: update Vulkan-Headers to v1.3.246
2023-04-01 05:38:54 +00:00
Feng Chen
c7675caf71
video_core: Keep the definition of DimensionControl consistent with nvidia open doc
2023-03-31 12:33:07 +08:00
german77
a1b66df775
applet: controller: Implement cancel button
2023-03-30 07:49:44 -06:00
german77
9ffeb00747
service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestination
...
Used by Let's Get Fit
2023-03-29 22:03:49 -06:00
Max Dunbar
8b5becf71b
Fixes 'Continous' typo
2023-03-29 19:26:12 -07:00
Narr the Reg
0585865c9f
service: am: Improve profile select applet
2023-03-29 08:53:19 -06:00
liamwhite
3b139a811e
Merge pull request #9505 from liamwhite/request-exit
...
applets: implement RequestExit
2023-03-29 09:11:34 -04:00
Liam
7121903f4a
kernel: fix unbounded stack usage in atomics
2023-03-28 22:28:27 -04:00
liamwhite
da0b368e12
Merge pull request #10003 from german77/disconnect
...
service: hid: Silence warning on MergeSingleJoyAsDualJoy
2023-03-28 09:09:47 -04:00
Kelebek1
de4fc71536
Only upload GPU-modified overlaps
2023-03-28 11:07:39 +01:00
Morph
164d930c8d
telemetry: Add waitpkg instruction
2023-03-27 17:45:22 -04:00
Morph
fa3904acd9
x64: Simplify RDTSC on non-MSVC compilers
...
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
2023-03-27 17:45:22 -04:00
Morph
e67edd4bb7
core_timing: Make use of MicroSleep for x64 CPUs
...
For CPUs that support tpause, this should result in significant CPU power savings over thread yield in this spin wait.
2023-03-27 17:45:22 -04:00
Morph
d260571440
x64: Add MicroSleep
...
MicroSleep allows the processor to pause for a "short" amount of time (in the microsecond range). This is useful for spin-waiting that does not require nanosecond precision.
This uses the new TPAUSE instruction introduced on Intel's newest processors as part of the waitpkg instructions. For CPUs that do not support waitpkg instructions, this is equivalent to yield().
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
2023-03-27 17:45:22 -04:00
Morph
95adf299e4
x64: cpu_detect: Add detection of waitpkg instructions
...
waitpkg introduces 3 instructions, UMONITOR, UMWAIT and TPAUSE.
2023-03-27 17:45:22 -04:00
Billy Laws
1794a33c52
audio_core: No longer stall when sink queue is full
...
Now the audout and audren update rates are tied to the sink status stalling is no longer necessary.
2023-03-27 22:01:41 +01:00
Billy Laws
91d14c0022
Run clang-format
2023-03-27 22:01:41 +01:00
Billy Laws
d3f0149af2
audio: Wait for samples on the emulated DSP side to avoid desyncs
...
Waiting on the host side is inaccurate and leads to desyncs in the event of the sink missing a deadline that require stalls to fix. By waiting for the sink to have space before even starting rendering such desyncs can be avoided.
2023-03-27 21:34:28 +01:00
liamwhite
59c91dfd4a
Merge pull request #10002 from german77/log
...
qt: Fix log softlock
2023-03-27 15:37:44 -04:00
Narr the Reg
c1e8a0a3e6
service: hid: Silence warning on MergeSingleJoyAsDualJoy
2023-03-27 13:25:15 -06:00
Narr the Reg
209e4fc6c5
qt: Fix log softlock
2023-03-27 12:18:46 -06:00
liamwhite
c0e0237b21
Merge pull request #9984 from liamwhite/global-memory
...
memory: rename global memory references to application memory
2023-03-27 12:16:40 -04:00
liamwhite
5bb907c74f
Merge pull request #9995 from german77/plain
...
service: nfp: Add plain amiibo support
2023-03-27 12:16:24 -04:00
Billy Laws
7e7ad78aaf
audio: Interpolate system manager sample count using host sink sample info
...
This avoids the need to stall if the host sink sporadically misses the deadline, in such a case the previous implementation would report them samples as being played on-time, causing the guest to send more samples and leading to a gradual buildup.
2023-03-26 22:48:57 +01:00
german77
a7965dbc95
service: nfp: Add plain amiibo support
2023-03-26 14:26:36 -06:00
Liam
e135d0448e
tests: mark integer literals as unsigned
2023-03-26 15:39:07 -04:00
Liam
52c885cd03
container_hash: use climits
2023-03-26 10:24:33 -04:00
Morph
9308213232
video_core/macro: Make use of Common::HashValue
2023-03-25 23:52:26 -04:00
Morph
ac1a23fc51
tests: Implement tests for verifying HashValue
...
Values were randomly generated and the verification was done against boost 1.79.
2023-03-25 23:52:26 -04:00
Morph
b203f9d714
common: Port boost's hash_value implementation
...
Ports a small subset of boost's hash_value implementation (<= 1.80.0).
2023-03-25 23:52:25 -04:00
Liam
eb8abae7eb
qt: implement RequestExit for applets
2023-03-25 14:49:43 -04:00
Liam
46f5e0a276
applets: implement RequestExit
2023-03-25 12:44:26 -04:00
bunnei
82155e4000
Merge pull request #9985 from liamwhite/funny-meme
...
vulkan: fix scheduler chunk reserve
2023-03-24 23:40:17 -07:00
Ross Schlaikjer
ee8f63ac65
Pass GPU page table by reference
2023-03-25 00:25:02 -04:00
liamwhite
74a24ab5d5
Merge pull request #9983 from Morph1984/boost
...
CMakeLists: Update boost to 1.81.0
2023-03-24 10:53:30 -04:00
liamwhite
f0b7390ae3
Merge pull request #9981 from german77/nfp_connect
...
nfc: Initialize device when controller is connected
2023-03-24 10:53:05 -04:00
Liam
aea009216e
vulkan: fix scheduler chunk reserve
2023-03-24 09:09:01 -04:00
Morph
1242e360bd
Merge pull request #9975 from liamwhite/more-waiting
...
vulkan: fix more excessive waiting in scheduler
2023-03-24 00:19:43 -04:00
Morph
79aa81015f
zstd: Use ZSTD_getFrameContentSize instead of ZSTD_getDecompressedSize
2023-03-23 22:16:20 -04:00
Liam
6eaef51cf2
memory: rename global memory references to application memory
2023-03-23 20:28:47 -04:00
liamwhite
c8963299fa
Merge pull request #9971 from Morph1984/q
...
bounded_threadsafe_queue: Use simplified impl of bounded queue
2023-03-23 10:00:31 -04:00
liamwhite
2b74ab00aa
Merge pull request #9964 from liamwhite/typed-address
...
kernel: use KTypedAddress for addresses
2023-03-23 10:00:19 -04:00
Morph
f33cddc400
Merge pull request #9962 from Kelebek1/disable_srgb
...
[video_core] Disable SRGB border color conversion in samplers
2023-03-23 03:07:00 -04:00
Liam
156516e399
kernel: use KTypedAddress for addresses
2023-03-22 09:35:16 -04:00
Morph
05ba40b98e
bounded_threadsafe_queue: Refactor Pop
...
Introduces PopModes to bring waiting logic into Pop, similar to Push.
2023-03-21 22:33:58 -04:00
Morph
70b1c2e8e0
bounded_threadsafe_queue: Add producer cv to avoid busy waiting
2023-03-21 22:33:57 -04:00
Narr the Reg
9704f1bc7e
nfc: Initialize device when controller is connected
2023-03-21 20:09:36 -06:00
bunnei
95fdc371bb
Merge pull request #9965 from german77/thankYouEpicBoy
...
config: Fix controller config from resetting
2023-03-21 17:52:25 -07:00
Morph
62fd55e5fe
bounded_threadsafe_queue: Deduplicate and add PushModes
...
Adds the PushModes Try and Wait to allow producers to specify how they want to push their data to the queue if the queue is full.
If the queue is full:
- Try will fail to push to the queue, returning false. Try only returns true if it successfully pushes to the queue. This may result in items not being pushed into the queue.
- Wait will wait until a slot is available to push to the queue, resulting in potential for deadlock if a consumer is not running.
2023-03-21 19:20:21 -04:00
Morph
281e99f09d
bounded_threadsafe_queue: Add TryPush
2023-03-21 19:17:38 -04:00
Morph
623cbd908e
logging: Make use of bounded queue
2023-03-21 19:17:38 -04:00
Morph
c4314b231f
bounded_threadsafe_queue: Use simplified impl of bounded queue
...
Provides a simplified SPSC, MPSC, and MPMC bounded queue implementation using mutexes.
2023-03-21 19:17:32 -04:00
bunnei
c6e6763836
Merge pull request #9970 from bunnei/string-util-view
...
common: string_util: Use std::string_view for UTF16ToUTF8/UTF8ToUTF16W.
2023-03-19 11:10:16 -07:00
Liam
af8ce05caa
vulkan: fix more excessive waiting in scheduler
2023-03-19 13:40:33 -04:00
Liam
48f1221b35
kernel: fix LOG_TRACE in ipc
2023-03-19 10:02:20 -04:00
bunnei
a59583c7ab
common: string_util: Use std::string_view for UTF16ToUTF8/UTF8ToUTF16W.
2023-03-18 22:42:25 -07:00
bunnei
b9533c81f7
common: bounded_threadsafe_queue: Use polyfill_thread.
2023-03-17 23:42:17 -07:00
bunnei
4471e9effe
Merge pull request #9778 from behunin/my-box-chevy
...
gpu_thread: Use bounded queue
2023-03-17 22:14:29 -07:00
bunnei
61aa2be4f3
Merge pull request #9953 from german77/amiibo_crc
...
service: nfp: Actually write correct crc
2023-03-17 22:13:57 -07:00
Narr the Reg
74cd79b687
config: Fix controller config from resetting
2023-03-17 22:08:16 -06:00
Kelebek1
0a90adff87
Disable SRGB border color conversion for now, to fix shadows in Xenoblade.
2023-03-17 04:46:38 +00:00
Narr the Reg
8a1c405ce3
service: nfp: Replace crc function with boost equivalent
2023-03-16 17:47:32 -06:00
liamwhite
f47a6b3c8d
Merge pull request #9955 from liamwhite/color-blend-equation
...
vulkan: disable extendedDynamicState3ColorBlendEquation on radv
2023-03-15 20:19:45 -04:00
liamwhite
f3dfe9e5e1
Merge pull request #9931 from liamwhite/sched
...
vk_scheduler: split work queue waits and execution waits
2023-03-15 20:19:35 -04:00
Narr the Reg
ab37f2bda3
service: nfp: Close app area and recreate crc
2023-03-15 17:01:06 -06:00
Narr the Reg
d7f58e6ecb
service: nfp: Convert mii colors to v3
2023-03-15 17:01:05 -06:00
Liam
09a866fe79
vulkan: disable extendedDynamicState3ColorBlendEquation on radv
2023-03-15 15:55:07 -04:00
Narr the Reg
aeb65824a7
service: nfp: Actually write correct crc
2023-03-14 23:42:41 -06:00
liamwhite
fc39bb0ef9
Merge pull request #9933 from vonchenplus/texture_format
...
video_core: Update texture format
2023-03-14 11:35:37 -04:00
FengChen
0f336df1ea
video_core: Better defined ImageInfo parameters
2023-03-14 22:36:34 +08:00
Morph
8d0d61dfd1
configure_audio: Fix output mode setting not saving
2023-03-13 17:41:30 -04:00
liamwhite
eceb8e509e
Merge pull request #9939 from german77/vibration
...
input_common: sdl: Only send last vibration command
2023-03-13 13:45:40 -04:00
liamwhite
27dc0f49aa
Merge pull request #9941 from german77/settings
...
yuzu: Move audio settings to audio section
2023-03-13 13:45:29 -04:00
liamwhite
853e5576e6
Merge pull request #9943 from vonchenplus/gentleman
...
video_core: Fix inline_index and draw_texture error
2023-03-13 13:45:17 -04:00
german77
59f50daf74
input_common: sdl: Only send last vibration command
2023-03-12 21:30:02 -06:00
Liam
9d5747fb71
kernel: additional style fixes to KThread, KProcess
2023-03-12 22:10:27 -04:00
Liam
6828f66b42
kernel: fix clang build
2023-03-12 22:10:27 -04:00
Liam
a0867d72ed
kernel: remove unnecessary finalize calls
2023-03-12 22:10:27 -04:00
Liam
b8da5b73b2
kernel: convert KProcess to new style
2023-03-12 22:09:27 -04:00
Liam
46d09ae364
kernel: convert KThread to new style
2023-03-12 22:09:09 -04:00
Liam
d0e11c27d9
kernel: prefer std::addressof
2023-03-12 22:09:09 -04:00
Liam
24077ea160
kernel: convert KResourceLimit
2023-03-12 22:09:09 -04:00
Liam
cf0b407daa
kernel: remove kernel_
2023-03-12 22:09:09 -04:00
Liam
3280ebac7e
kernel: remove gratitutous attribute usage
2023-03-12 22:09:09 -04:00
Liam
0c6375446c
kernel/svc: convert to new style
2023-03-12 22:09:08 -04:00
Liam
767059b620
kernel: convert miscellaneous
2023-03-12 22:06:53 -04:00
Liam
7893136e74
kernel: conver KScopedLock, KScopedResourceReservation, KSessionRequest, KSharedMemory, KSpinLock
2023-03-12 22:06:53 -04:00
Liam
d41368663b
kernel: convert KAbstractSchedulerLock
2023-03-12 22:06:53 -04:00
Liam
8c137e234f
kernel: convert KMemoryLayout, KMemoryRegion*, KPageTableSlabHeap, KPriorityQueue
2023-03-12 22:06:53 -04:00
Liam
c72afbd1db
kernel: move KMemoryLayout for NX board
2023-03-12 22:06:53 -04:00
Liam
842f5a4ced
kernel: remove KLinkedList
2023-03-12 22:06:53 -04:00
Liam
01e79d9399
kernel: convert KConditionVariable, KLightConditionVariable, KLightLock
2023-03-12 22:06:53 -04:00
Liam
3c93638acf
kernel: convert KPort, KSession
2023-03-12 22:06:53 -04:00
Liam
6b0b94dc27
kernel: convert GlobalSchedulerContext, KAddressArbiter, KScopedSchedulerLockAndSleep, KThreadQueue to new style
2023-03-12 22:06:53 -04:00
Liam
11814a4991
vk_scheduler: split work queue waits and execution waits
2023-03-12 17:19:44 -04:00
Liam
5be8a74b0c
general: fix spelling mistakes
2023-03-12 11:33:01 -04:00
FengChen
e067d314ba
video_core: Fix ogl status error when draw_texture
2023-03-12 13:33:31 +08:00
FengChen
5a1d6233b2
video_core: Invalid index_buffer flag when inline_index draw
2023-03-12 13:21:26 +08:00
german77
875958163b
yuzu: Move audio settings to audio section
2023-03-11 20:04:36 -06:00
german77
d4ce7b7ad6
yuzu: Remove console id setting
2023-03-11 19:33:31 -06:00
Fernando S
0edffb460d
Merge pull request #9913 from ameerj/acc-dma-refactor
...
AccelerateDMA: Refactor Buffer/Image copy code and implement for OGL
2023-03-11 20:04:19 +01:00
liamwhite
e70d580897
Merge pull request #9923 from liamwhite/kht
...
kernel: add timer pointer to KThreadQueue
2023-03-10 16:19:41 -05:00
liamwhite
a15a1c3856
Merge pull request #9928 from german77/super_nfp
...
service: nfp: Improve implementation
2023-03-10 13:55:28 -05:00
liamwhite
68e1996e52
Merge pull request #9925 from ameerj/gl-sync-signal
...
OpenGL: Prefer glClientWaitSync for OGLSync objects
2023-03-10 13:55:22 -05:00
liamwhite
2b8955aaa4
Merge pull request #9917 from Morph1984/the-real-time
...
native_clock: Re-adjust the RDTSC frequency to its real frequency
2023-03-10 13:55:11 -05:00
Feng Chen
63a0d2661c
video_core: Update texture format
2023-03-10 21:48:50 +08:00
Narr the Reg
3c1865f1a1
service: nfp: Improve implementation
2023-03-09 19:29:28 -06:00
liamwhite
fc5226669b
Merge pull request #9916 from liamwhite/fpu
...
kernel: clone fpu status on CreateThread
2023-03-09 09:19:15 -05:00
liamwhite
89c9a9e145
Merge pull request #9822 from ameerj/buffcache-ssbo-addr
...
buffer_cache: Add logic for non-NVN storage buffer tracking
2023-03-09 09:18:39 -05:00
ameerj
625d716f56
OpenGL: Prefer glClientWaitSync for OGLSync objects
...
At least on Nvidia, glClientWaitSync with a timeout of 0 (non-blocking) is faster than glGetSynciv of GL_SYNC_STATUS.
2023-03-08 20:29:25 -05:00
bunnei
4f1ca556e9
Merge pull request #9906 from german77/metroid2
...
input_common: Increase mouse sensitivity range
2023-03-08 10:43:38 -08:00
liamwhite
aaeb3f2cb9
Merge pull request #9912 from liamwhite/err
...
hle: rename legacy errors to Results
2023-03-08 09:16:27 -05:00
liamwhite
dfc84b6a8b
Merge pull request #9904 from liamwhite/ws
...
kernel: fix WaitSynchronization
2023-03-08 09:16:17 -05:00
liamwhite
a9fc59a998
Merge pull request #9896 from Kelebek1/d24s8
...
Check all swizzle components for red, not just [0]
2023-03-08 09:16:06 -05:00
Morph
95585fe46b
perf_stats: Check multicore first
...
SpeedLimiting is SC only. Since MC is performance oriented we should check for it first to skip checking use_speed_limit.
2023-03-07 23:11:01 -05:00
Morph
ba31646b5f
Merge pull request #9921 from liamwhite/override
...
general: fix type inconsistencies
2023-03-07 22:42:40 -05:00
Morph
d45dd36dc1
Merge pull request #9918 from liamwhite/fwrapv
...
kernel: avoid signed overflow UB on MSVC
2023-03-07 22:42:32 -05:00
Morph
db0b86aef6
Merge pull request #9920 from liamwhite/constexpr-bit-cast
...
common: make BitCast constexpr
2023-03-07 22:42:19 -05:00
Morph
5a46ea4b4e
hid: Use nanosecond timestamps instead of ticks
2023-03-07 21:17:47 -05:00
Morph
ddb330121a
core: Promote CPU/GPU threads to time critical
...
And also demote Audren and CoreTiming to High thread priority.
2023-03-07 21:17:46 -05:00
Morph
e27dced550
native_clock: Wait for 10 seconds instead of 30
...
It was experimentally determined to be sufficient.
2023-03-07 21:17:46 -05:00
Morph
d766e783ea
native_clock: Use RealTimeClock instead of SteadyClock
...
We want to synchronize RDTSC to real time.
2023-03-07 21:17:46 -05:00
Morph
c3855de299
steady_clock: Introduce a real time clock
2023-03-07 21:17:46 -05:00
Morph
afa678be3a
native_clock: Re-adjust the RDTSC frequency
...
The RDTSC frequency reported by CPUID is not accurate to its true frequency.
We will spawn a separate thread to calculate the true RDTSC frequency after a measurement period of 30 seconds has elapsed.
2023-03-07 21:17:46 -05:00
Narr the Reg
822a967bca
input_common: Minor typo issues ( #9922 )
2023-03-08 03:15:46 +01:00
Liam
46a6277709
kernel: add timer pointer to KThreadQueue
2023-03-07 20:51:29 -05:00
german77
db3f4f7515
input_common: Increase mouse sensitivity range
2023-03-07 19:31:52 -06:00
Liam
242691d871
common: make BitCast constexpr
2023-03-07 20:26:56 -05:00
Liam
d55cc3b004
general: fix type inconsistencies
2023-03-07 20:05:19 -05:00
Liam
2e637e5519
kernel: avoid signed overflow UB on MSVC
2023-03-07 19:46:48 -05:00
Liam
1484a6536d
kernel: clone fpu status on CreateThread
2023-03-07 19:18:06 -05:00
liamwhite
4bdcafda58
Merge pull request #9889 from Morph1984/time-is-ticking
...
core_timing: Reduce CPU usage on Windows
2023-03-07 10:54:13 -05:00
ameerj
bc5a8c664b
gl_rasterizer: Implement AccelerateDMA DmaBufferImageCopy
2023-03-06 22:57:52 -05:00
ameerj
e901a7f029
Refactor AccelerateDMA code
2023-03-06 22:57:45 -05:00
Liam
ea36f70e02
hle: rename legacy errors to Results
2023-03-06 20:58:42 -05:00
liamwhite
0c4bb90be2
Merge pull request #9890 from Kelebek1/reverb_fix
...
Fix a bug with the Reverb command in reading from the pre delay line
2023-03-06 11:23:34 -05:00
liamwhite
a4d237bb70
Merge pull request #9910 from jbeich/libc++
...
kernel: add missing header for libc++
2023-03-06 11:21:51 -05:00
liamwhite
60dcfd3960
Merge pull request #9905 from german77/usbssl
...
Service: USB, SSL, PSC: Update
2023-03-06 11:21:37 -05:00
liamwhite
cc76c0655f
Merge pull request #9907 from german77/joycon
...
input_common: joycon: Add stick input from passive reports
2023-03-06 11:21:27 -05:00
liamwhite
92498929a9
Merge pull request #9908 from german77/pfp
...
service: acc: Replace default image with a 32x32 image
2023-03-06 11:21:17 -05:00
Jan Beich
98f8e82b60
kernel: add missing header for libc++
...
In file included from src/core/hle/kernel/k_light_lock.cpp:4:
In file included from src/./core/hle/kernel/k_light_lock.h:8:
src/./core/hle/kernel/k_scoped_lock.h:25:51: error: no member named 'addressof' in namespace 'std'
explicit KScopedLock(T& l) : KScopedLock(std::addressof(l)) {}
~~~~~^
2023-03-06 11:49:25 +00:00
Ikko Eltociear Ashimine
538c3df844
fix typo in settings.h
...
Intial -> Initial
2023-03-06 20:28:47 +09:00
Narr the Reg
d8848c1f7f
service: acc: Replace default image with a 32x32 image
2023-03-05 16:36:19 -06:00
german77
b1913d2db3
input_common: joycon: Add stick input from passive reports
2023-03-05 12:50:15 -06:00
Narr the Reg
9eaa964d82
service: psc: Update names
2023-03-05 12:02:10 -06:00
Narr the Reg
96bf71b888
service: ssl: Add missing properties and update names
2023-03-05 12:02:04 -06:00
Narr the Reg
9d8b2139b6
service: usb: Update names
2023-03-05 10:45:24 -06:00
Liam
1d9ac8a979
kernel: fix WaitSynchronization
2023-03-05 10:29:10 -05:00
Fernando Sahmkow
82f37192ec
Engines: Implement Accelerate DMA Texture.
2023-03-05 12:18:00 +01:00
Morph
38db5c2026
native_clock: Round RDTSC frequency to the nearest 1000
2023-03-05 02:36:31 -05:00
Morph
56547b9b88
timer_resolution: Set current process to High QoS
...
Ensures that this process is treated as a high performance process by the Windows scheduler.
2023-03-05 02:36:31 -05:00
Morph
7f079bf6c8
hardware_properties: Update BASE_CLOCK_RATE to exactly 1020 MHz
2023-03-05 02:36:31 -05:00
Morph
e25334b8b3
core_timing: Use higher precision sleeps on Windows
...
The precision of sleep_for and wait_for is limited to 1-1.5ms on Windows.
Using SleepForOneTick() allows us to sleep for exactly one interval of the current timer resolution.
This allows us to take advantage of systems that have a timer resolution of 0.5ms to reduce CPU overhead in the event loop.
2023-03-05 02:36:31 -05:00
Morph
feea72a15e
main: (Windows) Set the current timer resolution to the maximum
...
Increases the precision of thread sleeps on Windows.
2023-03-05 02:36:31 -05:00
Morph
22d58e43dc
wall_clock: Make use of SteadyClock
2023-03-05 02:36:31 -05:00
Morph
59b8488e90
common: Implement a method to change the Windows timer resolution
...
This utilizes undocumented NtDll functions to change the current timer resolution from the default of 1ms.
2023-03-05 01:41:28 -05:00
Morph
f869dabc4a
common: Implement a high resolution steady clock
...
This implementation provides a consistent, high performance, and high resolution clock where/when std::chrono::steady_clock does not provide sufficient precision.
2023-03-05 01:41:19 -05:00
Morph
7f06f21046
Merge pull request #9884 from liamwhite/service-cleanup
...
service: miscellaneous cleanups
2023-03-03 22:51:17 -05:00
Kelebek1
2f525864a8
Check all swizzle components for red, not just [0], pass float border color rather than int
2023-03-04 02:33:50 +00:00
Behunin
43c3c6e3dc
gpu_thread: Use bounded queue
2023-03-03 18:20:56 -07:00
bunnei
437cc6eb63
Merge pull request #9855 from liamwhite/kern-16-support
...
kernel: support for 16.0.0
2023-03-03 14:42:00 -08:00
Kelebek1
ed68646fa7
Fix a bug with the Reverb command in reading from the pre_delay line.
2023-03-02 06:00:55 +00:00
Liam
cd7e0b03b7
vulkan_common: disable vertexInputDynamicState on unsupported driver
2023-03-01 22:48:12 -05:00
Liam
63414faea4
kernel: be more careful about kernel address keys
2023-03-01 10:42:45 -05:00