german77
353317f31e
yuzu: Add controller hotkeys
4 years ago
german77
06d840652f
core/hid: Add home and screenshot button support
4 years ago
german77
f333340a9c
core/hid: Set minimum gyro threshold
4 years ago
german77
10439bbfff
input_common: Use accelerometer data for mapping
4 years ago
lat9nq
a8b082c537
configure_per_game: Initialize tabs after loading custom configuration
Changes tab initialization to happen after the configuration is loaded,
which means that it no longer happens as member initializers in the
ConfigurePerGame constructor. Removes the cluster of
??_tab->SetConfiguration's that I added earlier to get around this issue
initially.
Fixes a regression in #6774
4 years ago
Narr the Reg
7b752c8f47
video_core: Remove unnecesary maybe_unused flag
4 years ago
Narr the Reg
0646512a9c
glsl: Remove unreachable return
4 years ago
ameerj
664fcdc64b
gpu: Add shut down method to synchronize threads before destruction
4 years ago
Fernando Sahmkow
65387dd0a0
ShaderDecompiler: Add a debug option to dump the game's shaders.
4 years ago
ameerj
8badb6f4a7
Revert "Merge pull request #7668 from ameerj/fence-stop-token"
This reverts commit 5a612e9217 , reversing
changes made to 2e61bc3d51 .
4 years ago
ameerj
0585c60227
gpu: Use std::stop_token in WaitFence for VSync thread
Fixes a hang that may occur when stopping emulation and the VSync thread is blocked on the syncpoint condition variable.
4 years ago
german77
0e9f010ed6
core/hid: Add fallback to fullkey controllers
4 years ago
german77
8b989ac3ae
controller_applet: Only populate supported controllers
4 years ago
german77
4208ac1087
yuzu: Fix UI elements not updating correctly
4 years ago
ameerj
5a7940c1f1
texture_cache/util: Fix s32 overflow when resolving overlaps
4 years ago
ameerj
4c10c0a514
video_core/memory_manager: Fixes for sparse memory management
4 years ago
ameerj
5c644fe97b
video_core/memory_manager: Deduplicate Read/WriteBlock
4 years ago
bunnei
b12695ddc4
core: hle: kernel: Implement thread pinning.
- We largely had the mechanics in place for thread pinning, this change hooks these up.
- Validated with tests https://github.com/Atmosphere-NX/Atmosphere/blob/master/tests/TestSvc/source/test_thread_pinning.cpp .
4 years ago
german77
5dab578691
core/hid: Fix controller type validation
4 years ago
ameerj
c5c13369fa
glsl: Add boolean reference workaround
4 years ago
ameerj
a57dc3509a
glsl_context_get_set: Add alternative cbuf type for broken drivers
some drivers have a bug bitwise converting floating point cbuf values to uint variables. This adds a workaround for these drivers to make all cbufs uint and convert to floating point as needed.
4 years ago
ameerj
0918d673a3
emit_glsl_integer: Use negation work around
4 years ago
ameerj
22a4d26479
shader: Add integer attribute get optimization pass
Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.
4 years ago
Matías Locatti
244dff4e6e
Empty spaces
4 years ago
Matías Locatti
1a30c0a125
Changes to avoid warnings in SSE4.2 optimized SPIR-V
4 years ago
Feng Chen
064470286d
Remove invalid assertion statement
4 years ago
Feng Chen
5e725163a0
Remove invalid header include
4 years ago
Feng Chen
669cb21687
Implement few type in bufferqueue query method
4 years ago
bunnei
714dcea191
core: hle: kernel: Updated implementation of svcSetHeapSize.
- Updates our svcSetHeapSize with latest HOS, furthermore allowing heap size to properly be extended/shrunk.
- Validated with tests https://github.com/Atmosphere-NX/Atmosphere/blob/master/tests/TestSvc/source/test_set_heap_size.cpp .
4 years ago
ameerj
44832be5d2
emit_glasm_context_get_set: Fix GetAttribute return value type.
GetAttribute expects an F32 result type at the IR level, this fixes the return value of attributes which were not returning an F32
4 years ago
ameerj
fbb33df96f
emit_glsl_floating_point: Fix FPNeg on newer Nvidia drivers
4 years ago
ameerj
bb108db1de
vk_texture_cache: Use 3D scale helpers for MSAA texture scaling on Intel Windows drivers
Fixes a crash when scaling MSAA textures in titles such as Sonic Colors Ultimate.
4 years ago
ameerj
b22cc82f64
blit_image: Remove unused function
4 years ago
ameerj
531d53d6b9
vk_texture_cache: Fix invalidated pointer access
The vulkan ImageView held a reference to its source image for rescale status checking. This pointer is sometimes invalidated when the texture cache slot_images container is resized.
To avoid an invalid pointer dereference, the ImageView now holds a reference to the container itself.
4 years ago
bunnei
555481005d
core: hle: kernel: Implement SetMemoryPermission.
- Not seen in any games yet, but validated with kernel tests.
4 years ago
bunnei
bc45d0fc1a
core: hle: kernel: KThread: X18 should be a cryptographically random number.
- This was added with firmware 11.0.0 (https://switchbrew.org/wiki/11.0.0 ).
- X18 is OR'd by kernel with 1, to make sure it is odd.
4 years ago
liushuyu
39d70e9799
main: reword inhibit reason
4 years ago
liushuyu
68901da65f
main: fix wake lock in Flatpak ...
... by using the XDP system
4 years ago
bunnei
a1f637a6d0
hle: kernel: svc: GetInfo: Fix error checking with IdleTickCount.
- Enforce tha the supplied handle is invalid, not valid.
- This gets Witcher 3 booting.
4 years ago
Andrew Udvare
31c8b5013c
Allow overriding SCM version info
If the build is from a non-repository, these functions will return empty. This
patch allows using defines to CMake to set version info such as
-DGIT_BRANCH=master.
4 years ago
ameerj
95aa9434ce
main: Refactor to reduce code duplication in ShowFullscreen()
4 years ago
ameerj
cd7e6b3250
main: Make render window borderless fullscreen toggle on the monitor it resides in
Toggling borderless fullscreen on the separate render window made it fullscreen on the monitor which the main yuzu window resided in.
This change allows the render window to go fullscreen on the monitor it resides in, independent of the main window location.
4 years ago
ameerj
1fff9ea35e
kernel: Manually destroy the current process during shut down
Avoids a memory leak.
4 years ago
Jan Beich
85f65a6995
video_core/codecs: re-enable VAAPI/VDPAU on BSDs after f91cc356fb
4 years ago
bunnei
acd1fff964
core: loader: kip: Minimal changes to fix KIP loading.
- Allows us to boot KIP (kernal apps), useful for testing the kernel.
4 years ago
vonchenplus
8fe519b656
Address format clang
4 years ago
Fernando Sahmkow
15c634806b
Vulkan: Fix the checks for primitive restart extension.
4 years ago
vonchenplus
8ea541bc11
Remove spirv handle legacy related code
4 years ago
vonchenplus
ac51211ce4
Remove glsl handle legacy related code
4 years ago
Fernando Sahmkow
ce7c3bdf0c
Vulkan: implement Logical Operations.
4 years ago