Liam
b84bab419c
maxwell_3d: fix out of bounds array access in size estimation
3 years ago
german77
1ec8e38f3f
core: am: Demote TryPopFromFriendInvitationStorageChannel Log level
3 years ago
Kelebek1
0397e174ae
Account for a pre-added offset when using Corner sample mode for 2D blits
3 years ago
Aaron Roney
9b882c3700
Run clang-format to fix all.
3 years ago
Aaron Roney
470fbbfbf9
Fix formatting.
3 years ago
Aaron Roney
7dab022bc5
Allow passing `bind_address` to dedicated room.
3 years ago
FengChen
ea68bfba5d
core: audio: return result when audio_out initialize failed
3 years ago
german77
18bb76b6a0
core: hid: Remove deadzone of virtual controller
3 years ago
Liam
fb2af6a41e
vulkan: use plain fences when timeline semaphores are not available
3 years ago
Narr the Reg
5de37e921c
service: nfp: Implement debug Interface
3 years ago
Narr the Reg
c8ed98bb1c
service: nfp: Implement system interface
3 years ago
Valeri
d359ae51a3
input_common: minor fix to mouse movement
3 years ago
Narr the Reg
52447e1b58
service: nfp: Use an unique interface
3 years ago
Wollnashorn
111c02760b
video_core: Enable ImageGather rounding fix on AMD open source drivers
3 years ago
Liam
07d060c2d4
kernel: move more memory to application in 8GB arrangement
3 years ago
Liam
bfd120b543
kernel: switch extended memory setting to 8GB arrangement
3 years ago
Billy Laws
6b2510c7c5
Use GetGlobalTimeNs as opposed to clock ticks
3 years ago
Wollnashorn
d53aa13a33
shader_recompiler: Use vector arithmetic rather than component-wise in ImageGatherSubpixelOffset
Should be more efficient and better readable
3 years ago
Wollnashorn
dda107ffa7
video_core: Enable ImageGather with subpixel offset on Intel
3 years ago
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 ).
3 years ago
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.
3 years ago
Liam
bbc9f0d3e9
general: fixes for gcc 13
3 years ago
german77
4c562a2c8c
service: hid: Fix handle validation
3 years ago
bunnei
a09fcccb72
core: arm_dynarmic_32: Update SaveContext/LoadContext.
3 years ago
Jan Beich
604f887377
externals: update Vulkan-Headers to v1.3.246
3 years ago
Feng Chen
c7675caf71
video_core: Keep the definition of DimensionControl consistent with nvidia open doc
3 years ago
german77
a1b66df775
applet: controller: Implement cancel button
3 years ago
german77
9ffeb00747
service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestination
Used by Let's Get Fit
3 years ago
Max Dunbar
8b5becf71b
Fixes 'Continous' typo
3 years ago
Narr the Reg
0585865c9f
service: am: Improve profile select applet
3 years ago
Liam
7121903f4a
kernel: fix unbounded stack usage in atomics
3 years ago
Kelebek1
de4fc71536
Only upload GPU-modified overlaps
3 years ago
Morph
164d930c8d
telemetry: Add waitpkg instruction
3 years ago
Morph
fa3904acd9
x64: Simplify RDTSC on non-MSVC compilers
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
3 years ago
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.
3 years ago
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>
3 years ago
Morph
95adf299e4
x64: cpu_detect: Add detection of waitpkg instructions
waitpkg introduces 3 instructions, UMONITOR, UMWAIT and TPAUSE.
3 years ago
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.
3 years ago
Billy Laws
91d14c0022
Run clang-format
3 years ago
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.
3 years ago
Narr the Reg
c1e8a0a3e6
service: hid: Silence warning on MergeSingleJoyAsDualJoy
3 years ago
Narr the Reg
209e4fc6c5
qt: Fix log softlock
3 years ago
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.
3 years ago
german77
a7965dbc95
service: nfp: Add plain amiibo support
3 years ago
Liam
e135d0448e
tests: mark integer literals as unsigned
3 years ago
Liam
52c885cd03
container_hash: use climits
3 years ago
Morph
9308213232
video_core/macro: Make use of Common::HashValue
3 years ago
Morph
ac1a23fc51
tests: Implement tests for verifying HashValue
Values were randomly generated and the verification was done against boost 1.79.
3 years ago
Morph
b203f9d714
common: Port boost's hash_value implementation
Ports a small subset of boost's hash_value implementation (<= 1.80.0).
3 years ago
Liam
eb8abae7eb
qt: implement RequestExit for applets
3 years ago