liushuyu
42f653ab6f
logging: adapt to changes in fmt 8.1
4 years ago
german77
50a7152941
core/hid: Set minimum gyro threshold
4 years ago
german77
4b4af29f86
input_common: Use accelerometer data for mapping
4 years ago
lat9nq
62c13e8318
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
41bbb31af4
video_core: Remove unnecesary maybe_unused flag
4 years ago
Narr the Reg
524674aafc
glsl: Remove unreachable return
4 years ago
ameerj
c17938f96b
gpu: Add shut down method to synchronize threads before destruction
4 years ago
Fernando Sahmkow
f58ee3f15f
ShaderDecompiler: Add a debug option to dump the game's shaders.
4 years ago
ameerj
7652543231
Revert "Merge pull request #7668 from ameerj/fence-stop-token"
This reverts commit e773354477 , reversing
changes made to abbbdc2bc0 .
4 years ago
ameerj
d866916f42
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
7a13a515d9
core/hid: Add fallback to fullkey controllers
4 years ago
german77
133f497f84
controller_applet: Only populate supported controllers
4 years ago
german77
a9ad983c13
yuzu: Fix UI elements not updating correctly
4 years ago
ameerj
951c61aeaa
texture_cache/util: Fix s32 overflow when resolving overlaps
4 years ago
ameerj
285b6dbc39
video_core/memory_manager: Fixes for sparse memory management
4 years ago
ameerj
2428214c4b
video_core/memory_manager: Deduplicate Read/WriteBlock
4 years ago
bunnei
3a89723d97
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
9ee5c4ec56
core/hid: Fix controller type validation
4 years ago
ameerj
8c907c620d
glsl: Add boolean reference workaround
4 years ago
ameerj
b84d429c2e
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
9f34be5a61
emit_glsl_integer: Use negation work around
4 years ago
ameerj
14ac0c2923
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
c7235e67ef
Empty spaces
4 years ago
Matías Locatti
840d5520d2
Changes to avoid warnings in SSE4.2 optimized SPIR-V
4 years ago
Feng Chen
1eec9590c3
Remove invalid assertion statement
4 years ago
Feng Chen
e18bf4b062
Remove invalid header include
4 years ago
Feng Chen
88e1e7f14b
Implement few type in bufferqueue query method
4 years ago
bunnei
091463a429
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
37addf7a94
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
640fc1418b
emit_glsl_floating_point: Fix FPNeg on newer Nvidia drivers
4 years ago
ameerj
f9e0681d59
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
cbc0f0a66e
blit_image: Remove unused function
4 years ago
ameerj
481b210c0d
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
4e7a6639d2
core: hle: kernel: Implement SetMemoryPermission.
- Not seen in any games yet, but validated with kernel tests.
4 years ago
bunnei
a0c7d93b84
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
14fc1bec17
main: reword inhibit reason
4 years ago
liushuyu
fa7abafa5f
main: fix wake lock in Flatpak ...
... by using the XDP system
4 years ago
bunnei
49e3c073a5
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
caf38725ae
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
3074b2eb93
main: Refactor to reduce code duplication in ShowFullscreen()
4 years ago
ameerj
39bb6851e4
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
55650c5b75
kernel: Manually destroy the current process during shut down
Avoids a memory leak.
4 years ago
Jan Beich
e57b13ad94
video_core/codecs: re-enable VAAPI/VDPAU on BSDs after 72aa418b0b
4 years ago
bunnei
7feac8ba46
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
4908a07c20
Address format clang
4 years ago
Fernando Sahmkow
6c00151d17
Vulkan: Fix the checks for primitive restart extension.
4 years ago
vonchenplus
6ebc972c2b
Remove spirv handle legacy related code
4 years ago
vonchenplus
94652e122d
Remove glsl handle legacy related code
4 years ago
Fernando Sahmkow
14d2c77f91
Vulkan: implement Logical Operations.
4 years ago
Fernando Sahmkow
6430fc29a9
Vulkan: Implement VK_EXT_primitive_topology_list_restart
4 years ago