Commit Graph

9790 Commits

Author SHA1 Message Date
fcf9d29a62 Merge branch 'master' of https://github.com/GPUCode/citra into vulkan-2 2023-03-26 11:50:15 +03:00
d9d0fc63ec applet: Fix HLE applet pre-start lifecycle. (#6362) 2023-03-25 22:36:14 +01:00
44097c2a8d gl_shader_disk_cache: Avoid reopening files every time a shader need to be written. (#6344)
Hopefully reduces stutters with Android SAF
2023-03-25 23:35:17 +02:00
9d7e68b7fc gl_shader_gen: Disable logging 2023-03-25 22:14:59 +02:00
fdb7ab47ff Merge pull request #6364 from Steveice10/break_error
kernel: Set system error status on svcBreak.
2023-03-25 01:18:26 -07:00
0a976f30c1 vk_instance: Always use geometry shaders if available
* Fixes broken lighting in some games
2023-03-25 09:12:39 +02:00
8e05af4389 vk_instance: Blacklist broken extensions on newer qualcomm/arm drivers 2023-03-25 09:11:51 +02:00
5317c00c45 Merge pull request #6368 from GPUCode/msvc-dup
Check fd before using dup
2023-03-24 10:29:55 -05:00
c7f8bc5582 file_util: Check fd before using dup 2023-03-24 16:56:31 +02:00
d2b719ac5a vk_scheduler: split work queue waits and execution waits 2023-03-24 14:22:28 +02:00
4accbeba0d Merge branch 'master' of https://github.com/GPUCode/citra into vulkan-2 2023-03-24 11:17:21 +02:00
54385a54eb citra_qt: Prevent OS sleep on Linux when a game is running (#6249) 2023-03-23 19:37:10 +01:00
343717e683 citra_android: Implement edge-to-edge (#6349) 2023-03-23 19:36:54 +01:00
8d563d37b4 citra_android: Storage Access Framework implementation (#6313) 2023-03-23 14:30:52 +01:00
Mai
8c12eb4905 Merge pull request #6360 from SachinVin/b
common\common_funcs.h:  use __builtin_trap for Crash()
2023-03-21 21:55:35 -04:00
f1c282775d kernel: Set system error status on svcBreak. 2023-03-21 14:19:42 -07:00
0c3fe272b6 citra_qt: Add enhancement options to per-game (#6308)
Co-authored-by: Tobias <thm.frey@gmail.com>
2023-03-21 22:12:13 +01:00
8434d30768 common\common_funcs.h: use __builtin_trap for Crash() 2023-03-21 22:34:06 +05:30
fbf53686c3 apt: Fix exiting to game list on application close. (#6353) 2023-03-21 17:07:49 +01:00
794d051f0c common\CMakeLists.txt: add missing arch.h (#6359) 2023-03-21 17:06:28 +01:00
3fb48716c5 CreateThread invalid processor ID return error instead of assert. (#6354) 2023-03-21 17:06:07 +01:00
359a1b3296 citra_android: Fix input shifting in emulation activity (#6352) 2023-03-21 17:05:42 +01:00
a2fd43deab Revert "citra_android: Use androidx splash screen (#6355)" (#6357)
This reverts commit 27c280534d.
2023-03-17 10:34:00 +02:00
27c280534d citra_android: Use androidx splash screen (#6355) 2023-03-16 08:30:47 +02:00
e18e30a8cc citra_android: Enable themed icon (#6351) 2023-03-15 09:21:54 +02:00
6fbc54b0c5 citra-qt: fixes to per game settings (#6298)
* citra-qt config: small misc changes

Remove unused ReadSettingGlobal

Remove unused WriteSetting overload

ReadGlobalSetting: rename default value variable

* qt config: fix u16 values being written as QMetaType

* qt config: rework post processing shader setting

handles post processing setting properly when per-game settings are used.
the anaglyph shader is given its own setting, separate from the post
processing name.

* qt config: use u32 instead of unsigned int when casting
2023-03-13 23:02:07 +02:00
49acfe428a citra_android: Bundle speex by default (#6348)
Without this, builds will fail on linux
2023-03-13 22:46:22 +02:00
ee26b5b82f vk_shader_gen_spv: Return when gas mode is used
* Otherwise the shader compiler will crash since OpFunctionEnd was called
2023-03-13 18:55:04 +02:00
aa8df317af citra_android: fix DiskShaderCacheProgress crash (#6346) 2023-03-13 11:16:38 +05:30
2cbf6fbb17 qt: Fix keys tutorial link in update downloader. (#6343) 2023-03-12 21:28:04 +05:30
12a5265db1 citra_qt: Fix per-game graphics api option
* This was a pain to implement due to the sheer amount of combinations. I hope there aren't any bugs...
2023-03-12 00:06:54 +02:00
eb8b463ca8 Merge branch 'vulkan-2' of https://github.com/GPUCode/citra into vulkan-2 2023-03-11 20:46:54 +02:00
72c1785bf0 renderer_vulkan: Revert some recent present changes
* Fixes the deadlocking on mingw until I rewrite presentation again
2023-03-11 20:45:19 +02:00
a2aca3dde6 Merge branch 'master' into vulkan-2 2023-03-11 13:15:41 +02:00
27be16ee31 Update AndroidManifest for Android TV (#6330) 2023-03-10 00:44:45 +01:00
c96f54f022 Implement app management support (suspend, resume, close, etc) (#6322) 2023-03-10 00:44:26 +01:00
d2caf2d386 citra_android: Start material 3 migration (#6335) 2023-03-09 23:22:11 +01:00
1cca713e3b citra_android: New settings fragment animations (#6332) 2023-03-09 21:54:32 +05:30
c5f2267306 renderer_vulkan: Emulate 3 component formats when unsupported
* Using uscaled formats isn't enough for all targets, the steam deck for example still crashes. The previous approach involved breaking the attribute to vec2 + vec1 and combining them. This commit implements something much simpler; the attribute is replaced with the 4 component version and the shader then zeros the w component. Since the fixed binding is at least 16bytes and exists at the end of the vertex data, we always have adequate space to alias so tihs shouldn't break.
2023-03-09 16:02:21 +02:00
976995ba08 cfg: Set system setup complete flag when formatting save. (#6331) 2023-03-09 00:05:00 +01:00
911fe5610c vk_renderpass_cache: Bring back flushes
* Idk why they were removed
2023-03-08 16:01:32 +02:00
b3e0078041 vk_resource_pool: Increase buffer descriptors 2023-03-08 15:20:10 +02:00
eeb1ff7965 rasterizer_cache: Avoid redundant texture copies when using texcubes 2023-03-08 10:11:47 +02:00
07e02a1acf Port multiplayer related PRs from yuzu (yuzu-emu/yuzu#9661 and yuzu-emu/yuzu#9713) (#6319)
Co-authored-by: SoRadGaming <sohorhab.azizdel@outlook.com>
Co-authored-by: Luke Sawczak <luke@unfamiliarplace.com>
2023-03-08 00:51:46 +01:00
8721456944 renderer_vulkan: Use dynamic uniform buffers
* Reduce descriptor update overhead
2023-03-07 23:38:48 +02:00
a23fbae391 vk_resource_pool: Add back eSampledImage
* It's used by format reinterpreter
2023-03-06 22:28:31 +02:00
0a8f11ca63 renderer_vulkan: Small cleanups 2023-03-05 17:34:35 +02:00
8f194b5fff rasterizer_cache: Handle null surface id in GetTextureSurface
* Pokemon X tries to use a texture with zero width. The previous code handled this so will we
2023-03-05 16:36:19 +02:00
3b050668bb vk_texture_mailbox: Fix shutdown 2023-03-05 14:12:29 +02:00
d054eea0c4 rasterizer_cache: Handle null surface cubes properly 2023-03-05 14:05:22 +02:00