Commit graph

1642 commits

Author SHA1 Message Date
OpenSauce04
8b2b833d1f Updated file license headers 2024-08-11 15:56:04 +00:00
David Griswold
862fda4332 android: Implemented custom layout customization GUI
This commit also changes the name of the 'Portrait' landscape layout to 'Original'

Co-authored-by: OpenSauce04 <opensauce04@gmail.com>
2024-08-11 15:56:04 +00:00
David Griswold
7e5b83f126 Refactored layout code in preparation for Android custom layout GUI 2024-08-11 15:56:04 +00:00
PabloMK7
7b0fbdf884 Fix crash when cubemap face id is invalid 2024-08-06 23:27:05 +00:00
kongfl888 K
c7818ef16f externals: Update fmt from 10.2.1 to 11.0.2 2024-08-02 19:04:27 +00:00
OpenSauce04
ab99fff953 android: Fixed landscape layouts not displaying correctly 2024-05-28 12:42:25 +01:00
Reg Tiangha
4614cc2e15 Apply clang-format-18 2024-05-26 23:33:31 +01:00
blakdulz
ff0aab06dc add Bottom Screen Opacity in Enhancement tab 2024-05-26 23:33:31 +01:00
OpenSauce
274afb7654
Merge pull request #87 from rtiangha/fix-smashbros
Fix for full screen Smash Bros crash in Vulkan
2024-04-19 23:57:04 +01:00
OpenSauce
cdd70e1f0c
Fix Mali GPU Performance issues on OpenGL
Co-authored-by: zhang wei <zwdreams@gmail.com>
2024-04-18 18:47:53 +01:00
Reg Tiangha
30cb4701bb
Rebase files after bad clang-format-18 application 2024-04-16 16:16:24 -06:00
Reg Tiangha
a378014156
Merge remote-tracking branch 'upstream/master' into fix-smashbros 2024-04-16 07:33:14 -06:00
OpenSauce04
5f41a173fa Updated codebase formatting to be compliant with Clang 18 2024-04-15 19:03:40 +01:00
GPUCode
5c91cc522f
vk_render_manager: Minor cleanups and rename to RenderManager
* It is no longer just a renderpass cache
* Revert variable name change from render_manager back to renderpass_cache
2024-04-14 14:59:18 -06:00
Reg Tiangha
a06aa7981e
vk_texture_runtime.cpp: remove outdated references 2024-04-14 14:59:09 -06:00
GPUCode
af2efdd2b4
vk_master_semaphore: Remove waitable atomic
* These are buggy on some platforms and regular condition_variables are faster most of the time
2024-04-14 14:58:57 -06:00
GPUCode
222ca7de21
renderer_vulkan: Rewrite descriptor management
* Switch to batched vkUpdateDescriptorSets from cached descriptor sets with templates
2024-04-14 14:58:20 -06:00
GPUCode
b3c73d8e8e
renderer_vulkan: Rename renderpass cache to render manager
* It is no longer just a cache
2024-04-14 14:51:15 -06:00
GPUCode
b08f382c7c
renderer_vulkan: Remove vulkan prefix in SetObjectName 2024-04-14 14:49:55 -06:00
GPUCode
cfa672bfa3 rasterizer_cache: Improve validation skip heuristic 2024-04-13 12:35:43 +01:00
Reg Tiangha
0cc7cb4e9d
vk_instance.cpp: fix getting driver_id for vulkan device (#53)
* vk_instance.cpp: fix getting driver_id for vulkan device

* apply clang-format (fixed)

Co-authored-by: Malachi <malachicapela@gmail.com>
2024-04-12 18:39:04 +01:00
OpenSauce04
563be55156 Reverted prior quick telemetry fix to make way for a proper fix 2024-04-12 18:35:18 +01:00
OpenSauce04
2e4f53ec2b Revert "Remove telemetry"
This reverts commit 6be3af71d4.
2024-04-11 22:10:24 +01:00
OpenSauce04
3bc0312b45 Ported GPUCode's Android Vulkan stability fixes
Thanks!
2024-04-07 15:58:50 +01:00
Reg Tiangha
6be3af71d4 Remove telemetry 2024-04-03 21:56:34 +01:00
OpenSauce
6cf2c37392
The big rebrand commit
- Rebranded executable files to reference Lime instead of Citra
- Rebranded many files in the source tree to reference Lime instead of Citra
- Rebranded many resource files to reference Lime instead of Citra
- Rebranded all instances of Citra's reverse DNS to Lime's reverse DNS
- Other small misc rebrands
2024-03-31 16:50:40 +01:00
Steveice10
f4768cd26c
video_core: Remove pre-compilation of Vulkan host-shaders. (#7461) 2024-02-26 10:26:44 -08:00
GPUCode
d857743075
Downgrade blend factor crash to warning (#7459)
* pica_to_vk: Downgrade assert to warning

* pica_to_gl: Downgrade unreachable to warning
2024-02-22 15:43:44 -08:00
Wunk
e524542a40
vk_texture_runtime: Use boost-static_vector (#7455)
* vk_texture_runtime: Use boost-`static_vector` for image init-barriers

Uses `static_vector` rather than `std::array`+`u32` when passing input
parameters into the initialization barriers.

* vk_texture_runtime: Use boost-`static_vector` for framebuffer attachments

* vk_texture_runtime: Use boost-`static_vector` for surface uploads
2024-02-22 02:35:57 +02:00
Steveice10
aa6809e2a8
renderer_vulkan: Use no more than target supported version. (#7439) 2024-02-15 19:38:32 -08:00
Steveice10
5e02be75a3
renderer_vulkan: Use getToolPropertiesEXT instead of getToolProperties (#7434)
getToolProperties is not available until Vulkan 1.3; we need to use the EXT version.
2024-02-13 21:43:09 -08:00
GPUCode
106364e01e
video_core: Use source3 when GPU_PREVIOUS is used in first stage (#7411) 2024-02-05 09:53:54 -08:00
GPUCode
d5a1bd07f3
glsl_shader_gen: Increase z=0 epsillon (#7408) 2024-02-05 09:53:41 -08:00
GPUCode
480604ec72
glsl_shader_fs_gen: Apply shadow before ambient light (#7404) 2024-01-31 23:29:39 +02:00
merry
63feac6bb3
externals: Update dynarmic to 6.6.1, Update oaknut to 2.0.1 (#7398) 2024-01-30 19:50:39 -08:00
SachinVin
7a4854c519
shader_setup.h: Initialise program_code (#7396) 2024-01-28 06:02:40 -08:00
Steveice10
41fe75acb7
renderer_vulkan: Pass physical device API version to VMA instead of instance version. (#7390) 2024-01-26 16:34:12 +02:00
GPUCode
bea863efff
general: Fixes for Tales of the Abyss (#7381)
* geometry_pipeline: Remove unneeded assert

* Has been hw-tested that gs works correctly even when not in exclusive mode

* pica_core: Propagate output_mask to gs

* Has been hw-tested to occur under the same conditions that other uniforms are shared

* regs_shader: Intialize GPUREG_SH_INPUTBUFFER_CONFIG to default value

* Default value verified on hw. Tales of Abyss does not update the number of vertex attributes for the geometry unit and expects it to be 2

* texture_codec: Align buffer sizes to bpp

* Prevents out of bounds texture reads when launching TOA from the HOME menu

* pica_core: Make default value more clear
2024-01-24 19:22:10 +02:00
GPUCode
549fdd0736
pica_core: Propogate vertex uniforms to geometry setup when not in exclusive mode (#7367) 2024-01-24 04:47:08 +02:00
Steveice10
82294425e3
build: Add flags to toggle specific renderer backends. (#7375) 2024-01-21 23:29:46 -08:00
GPUCode
8d82adb3d3
glsl_shader_gen: Remove invariant qualifier (#7376)
* glsl_shader_gen: Remove invariant qualifier

* Causes visual regressions in Pokemon with RADV

* rasterizer_cache: Clear null surface to transparent
2024-01-21 13:39:35 +02:00
GPUCode
ca3b2306d5
shader_unit: Intialize temporaries on shader invocation (#7366) 2024-01-20 22:13:31 +02:00
GPUCode
8e87bd606c
glsl_shader_gen: Use epsilon for both ends of NDC range (#7355) 2024-01-20 22:13:16 +02:00
Steveice10
37f0a7484f
renderer_vulkan: Revert vkGetInstanceProcAddr symbol change for MoltenVK. (#7341) 2024-01-12 09:16:04 -08:00
Steveice10
2ce0a9e899
renderer_vulkan: Update to support MoltenVK 1.2.7 (#7335) 2024-01-09 11:33:47 -08:00
Vitor K
c8c2beaeff
misc: fix issues pointed out by msvc (#7316)
* do not move constant variables

* applet_manager: avoid possible use after move

* use constant references where pointed out by msvc

* extra_hid: initialize response

* ValidateSaveState: passing slot separately is not necessary

* common: mark HashCombine as nodiscard

* cityhash: remove use of using namespace std

* Prefix all size_t with std::

done automatically by executing regex replace `([^:0-9a-zA-Z_])size_t([^0-9a-zA-Z_])` -> `$1std::size_t$2`
based on 7d8f115

* shared_memory.cpp: fix log error format

* fix compiling with pch off
2024-01-07 12:37:42 -08:00
Steveice10
6069fac76d
video_core: Fix crash when no debug context is provided. (#7324) 2024-01-07 10:29:43 -08:00
Steveice10
f2ee9baec7
core: Eliminate more uses of Core::System::GetInstance(). (#7313) 2024-01-05 12:07:28 -08:00
GPUCode
2bb7f89c30
video_core: Refactor GPU interface (#7272)
* video_core: Refactor GPU interface

* citra_qt: Better debug widget lifetime
2023-12-28 11:46:57 +01:00
Wunk
4d9eedd0d8
video_core/vulkan: Add debug object names (#7233)
* vk_platform: Add `SetObjectName`

Creates a name-info struct and automatically deduces the object handle type using vulkan-hpp's handle trait data.
Supports `string_view` and `fmt` arguments.

* vk_texture_runtime: Use `SetObjectName` for surface handles

Names both the image handle and the image-view.

* vk_stream_buffer: Add debug object names

Names the buffer and its device memory based on its size and type.

* vk_swapchain: Set swapchain handle debug names

Identifies the swapchain images themselves as well as the semaphores

* vk_present_window: Set handle debug names

* vk_resource_pool: Set debug handle names

* vk_blit_helper: Set debug handle names

* vk_platform: Use `VulkanHandleType` concept

Use a new `concept`-type rather than `enable_if`-patterns to restrict
this function to Vulkan handle-types only.
2023-12-08 06:58:47 +02:00