Commit graph

7084 commits

Author SHA1 Message Date
Samuliak
ef8b77c9a3
metal: do not release not existing buffers 2024-04-06 17:35:12 +02:00
Samuliak
e87893ec42 metal: add basic buffer cache 2024-04-06 17:28:56 +02:00
Samuliak
19503fd643 metal: print debug messages 2024-04-06 17:28:56 +02:00
Samuliak
789bc69281 metal: add info about command recorder memory leaks 2024-04-06 12:42:19 +02:00
Samuliak
863842948b metal: use texture cache to create textures render passes 2024-04-06 12:39:24 +02:00
Samuliak
88154b6c6d metal: add file copyright text to new files 2024-04-06 10:21:35 +02:00
Samuliak
c740bf21d2 metal: update license identifiers 2024-04-06 10:13:35 +02:00
Samuliak
3df0977948 Merge branch 'macOSbranch-ama25' into metal-dev
initial metal backend
2024-04-06 09:58:40 +02:00
Samuliak
82b3fcca18 metal: create texture cache in rasterizer 2024-04-06 09:55:26 +02:00
Samuliak
ea5dc91b9d metal: add basic staging buffer pool and texture cache 2024-04-06 08:55:11 +02:00
Samuliak
35b751de1b metal: add command recorder for command management 2024-04-05 17:10:21 +02:00
Samuliak
79ff60356d metal: create swap chain to manage metal layer 2024-04-05 16:21:39 +02:00
Samuliak
380af618d3 metal: draw to on-screen qwidget 2024-04-05 14:19:07 +02:00
Samuliak
7ea460a800 metal: initial support 2024-04-05 06:35:06 +02:00
voidanix
d3f67d1e9c Fix GCC builds with Debug build type
When compiling with -DCMAKE_BUILD_TYPE=Debug, GCC would (correctly) fail to
compile intrinsics in stb and host1x due to lack of optimizations.

Sadly, the compilation error given is bogus and Clang completing the builds
without issues does raise some eyebrows.

Therefore, force optimizations for the offending files under GCC when
creating Debug builds.

Signed-off-by: voidanix <voidanix@keyedlimepie.org>
2024-04-01 01:31:43 +02:00
Lucas Clemente Vella
36ede797f3 Vulkan validation error fix.
Different image usage flags between image creation and image view
creation.
2024-03-29 16:35:21 +01:00
SylverDiscord51
1648d189d3
license-fix (#31)
Co-authored-by: palfaiate <syl.paulo.alfaiate@gmail.com>
Co-authored-by: SylverDiscord51 <p71468162@gmail.com>
Co-committed-by: SylverDiscord51 <p71468162@gmail.com>
2024-03-23 22:58:07 -03:00
Fijxu
e509698a9a
ci: Linux builds ready to use. 2024-03-22 22:42:58 -03:00
Alessio
460b6be75f Radeon gpu profiler detection support 2024-03-18 23:23:57 +00:00
Exverge
93dc7fb6b2 fix: Fixes compiling to non-Apple OSes on arm64 2024-03-18 23:11:32 +00:00
Nick Majkic
2ceae9a0c1 Nmajkic/clang fix 2024-03-18 03:47:40 +00:00
Nick Majkic
19c2b08ab4 Macos moltenvk headers 2024-03-18 02:45:38 +00:00
Nick Majkic
2a28c85ff9 Clean up CMAKE files for mac and xcode building 2024-03-18 00:47:18 +00:00
Alessio
44ffa0092e Better surface logging 2024-03-16 13:08:01 +00:00
Akatsuki Levi
70d0df5e55
fix: Clang fix part 2: Electric bogaloo 2024-03-15 21:05:43 -03:00
Akatsuki Levi
94a84f5943
fix: CLang fix 2024-03-15 21:03:47 -03:00
Akatsuki Levi
22f8b858a2
feat: Removed telemetry 2024-03-15 20:36:36 -03:00
ddutchie
5d8f3f7cb1 Revert "Quality-of-Life Improvements" 2024-03-15 22:26:16 +00:00
Levi Akatsuki
e1538413e9 Quality-of-Life Improvements 2024-03-15 21:48:09 +00:00
ddutchie
ad12c0cb94 Fix Clang Formatting on Vulkan Device 2024-03-15 14:07:05 +00:00
Alessio
cc7a70cb6d AMD still has broken extendedDynamicState3ColorBlendEquation on RDNA3. 2024-03-15 13:28:41 +00:00
Alessio1989
47ab25dbf7 distinguish between moltenVK and other drivers. 2024-03-15 11:10:02 +00:00
ddutchie
e29c55dd98 CI Changes to Alow Building Linux and Android [From FORK] 2024-03-14 21:35:22 +00:00
niansa
3037f0b869 Fix clang-format error 2024-03-14 11:14:50 +01:00
Alessio
8b8aa84e70 fix for amd video playback (green videos) 2024-03-13 23:50:47 +00:00
Alessio
95bd1120a7 Vulkan dynamic state 3 blending should work correctly in AMD proprietary drivers now 2024-03-13 23:46:14 +00:00
Amir Abravesh
9895cc94d0 Updating moltenVK and macOS icon 2024-03-13 13:00:31 +00:00
JuanCStar
18baf880c4 fix: clang format 2024-03-12 09:13:35 +01:00
Levi Akatsuki
e5a954617b Improved Addons Manager 2024-03-12 04:30:44 +00:00
Nick Majkic
b2b769e45b Clyde/molten vk 64bit fix 2024-03-12 01:25:24 +00:00
niansa
362f2047b4 Port changes from Early Access 2024-03-08 22:44:03 +00:00
JuanCStar
88b901a24e Full rebrand 2024-03-08 09:06:48 +00:00
JuanCStar
edf7a3be81 Rebrand SUYU_NON_COPYABLE and SUYU_NON_MOVEABLE 2024-03-07 09:36:29 +00:00
JuanCStar
16dfc39f89 Rebrand Common FS Path functions 2024-03-07 09:21:59 +00:00
Crimson Hawk
cdbdf63ebe Revert "Merge branch 'master' into 'dev'"
This reverts merge request !17
2024-03-06 05:26:38 +00:00
AMA2581
5720814b13 modifying all the files to match the app 2024-03-06 00:19:07 +03:30
liamwhite
f1b1530249
Merge pull request #13171 from liamwhite/fake-address
texture_cache: do not track invalid addresses
2024-02-27 09:42:46 -05:00
liamwhite
6948ac8c16
general: workarounds for SMMU syncing issues (#12749) 2024-02-27 15:42:15 +01:00
liamwhite
b2e129eaa5
vk_rasterizer: flip scissor y on lower left origin mode (#13122) 2024-02-27 15:40:33 +01:00
liamwhite
1de37306a5
buffer_cache: avoid overflow in usage tracker (#13166) 2024-02-27 15:39:11 +01:00
liamwhite
9bc85dda5f
texture_cache: use two-pass collection for costly load resources (#13096) 2024-02-27 15:38:14 +01:00
Narr the Reg
1bec420695
Merge pull request #13172 from liamwhite/gl-streams
renderer_opengl: declare geometry stream support in profile
2024-02-26 11:51:25 -06:00
Liam
a0e254e7c4 renderer_opengl: declare geometry stream support in profile 2024-02-26 11:18:30 -05:00
Liam
25c3bbba0e settings: remove global override for smash on amdvlk 2024-02-26 11:16:18 -05:00
Liam
d66ca8b731 video_core: make gpu context aware of rendering program 2024-02-26 11:16:14 -05:00
Liam
fd9ed54f27 texture_cache: do not track invalid addresses 2024-02-26 10:26:27 -05:00
Narr the Reg
984396a21a
Merge pull request #13001 from liamwhite/scaled-availability
vulkan_device: don't use fixed cap for memory limits
2024-02-22 11:31:17 -06:00
Narr the Reg
4f95ee5209
Merge pull request #13075 from liamwhite/mali-having-a-bad-time
shader_recompiler: throw on missing geometry streams in geometry shaders
2024-02-22 11:30:26 -06:00
Matías Locatti
e0c17a2113
Merge pull request #10529 from liamwhite/critical-spacing
caches: make critical reclamation less eager and possible in more cases
2024-02-20 23:19:27 -03:00
FearlessTobi
310c1f50be scope_exit: Make constexpr
Allows the use of the macro in constexpr-contexts.
Also avoids some potential problems when nesting braces inside it.
2024-02-19 16:00:46 +01:00
Liam
f46dc31683 shader_recompiler: throw on missing geometry streams in geometry shaders 2024-02-19 00:34:00 -05:00
Liam
56810541f0 vulkan_device: don't use fixed cap for memory limits 2024-02-18 18:59:13 -05:00
Liam
3067bfd126 buffer_cache: use mapped range with large vertex buffer size 2024-02-13 08:27:33 -05:00
liamwhite
f75fceb3c0
Merge pull request #12975 from FernandoS27/keep-your-own-vodoo-doll-away-from-gf
Texture Cache: Fix untracking on GPU remap
2024-02-13 08:17:59 -05:00
Narr the Reg
2ff45cd0da
Merge pull request #12756 from liamwhite/applet-multiprocess-hwc
general: applet multiprocess
2024-02-11 20:58:28 -06:00
Liam
368bf2211f texture_cache: tweak iteration tracking change 2024-02-11 13:41:13 -05:00
Liam
de8a623932 texture_cache: avoid overestimation of ASTC texture sizes 2024-02-11 13:41:13 -05:00
Liam
865a0186b6 caches: make critical reclamation less eager and possible in more cases 2024-02-11 13:41:13 -05:00
Liam
4eeac731ff host_shaders: add vendor workaround for adreno drivers 2024-02-10 12:02:37 -05:00
Fernando Sahmkow
9ce43ee677 Texture Cache: Fix untracking on GPU remap 2024-02-10 14:49:49 +01:00
Liam
78aac6b403 gpu: dependency-inject scaling/antialiasing filter state for capture layers 2024-02-09 09:20:53 -05:00
Liam
0cb413c3d3 nvnflinger/gpu: implement applet capture 2024-02-09 09:20:53 -05:00
Liam
962c82540c nvnflinger/gpu: implement blending 2024-02-09 09:20:53 -05:00
Liam
0cbb555e9a video_core: defensively program around unmapped device pointers 2024-02-09 09:20:53 -05:00
liamwhite
263dfa95e4
Merge pull request #12914 from FernandoS27/vc-refactor
VideoCore Refactor Part 1.
2024-02-08 10:59:59 -05:00
liamwhite
c10e720ba9
Merge pull request #12883 from FernandoS27/memory_manager_mem
MemoryManager: Reduce the page table size based on last big page address.
2024-02-06 10:25:03 -05:00
Fernando Sahmkow
fa47ac1c9f Common: Rename SplitRangeSet to OverlapRangeSet 2024-02-05 23:01:17 +01:00
Fernando Sahmkow
0d5a3abeae Buffer Cache: Refactor to use Range sets instead 2024-02-05 11:06:52 +01:00
Fernando Sahmkow
4841dc0b74 VideoCore: Move Slot Vector to Common 2024-02-04 20:01:47 +01:00
liamwhite
3ac46aeced
Merge pull request #12885 from Moonlacer/eclipse-fix
structured_control_flow: Add Samsung Proprietary Driver ID to Reorder Pass
2024-02-02 09:08:54 -05:00
Fernando S
58cf2ee1f9
Merge pull request #12761 from liamwhite/mp-composite
video_core: rewrite presentation for layer composition
2024-02-02 15:08:06 +01:00
Moonlacer
11a8ef6640 Clang Fix 2024-02-01 18:15:21 -06:00
Moonlacer
b51b47e707 Add Samsung Proprietary Driver ID to Reorder Pass
For RDNA-based Samsung Xclipse GPUs
2024-02-01 17:53:26 -06:00
Fernando Sahmkow
f740d8b9be MemoryManager: Reduce the page table size based on last big page address. 2024-02-01 13:00:36 +01:00
Fernando Sahmkow
5cb9fe7819 SwBlitter: Fix Pitch linear reading/writting 2024-01-31 23:02:10 +01:00
Liam
a595e9e8a7 nvnflinger/gpu: implement layer stack composition 2024-01-31 11:27:21 -05:00
Liam
10cf058518 renderer_opengl: implement layer stack composition 2024-01-31 11:27:21 -05:00
Liam
9bdf09bd76 renderer_vulkan: implement layer stack composition 2024-01-31 11:27:21 -05:00
Liam
d4de04584f renderer_opengl: split up blit screen resources into antialias and window adapt passes 2024-01-31 11:27:21 -05:00
Liam
dd2918efd8 renderer_opengl: move out ownership of FSR resources 2024-01-31 11:27:21 -05:00
Liam
2ed9586130 renderer_vulkan: convert FSR to graphics pipeline 2024-01-31 11:27:21 -05:00
Liam
b78900e956 renderer_opengl: move out FSR shader source construction 2024-01-31 11:27:20 -05:00
Liam
60ee29aac3 renderer_opengl: split out FXAA 2024-01-31 11:27:20 -05:00
Liam
b90eff4bc6 renderer_opengl: split out SMAA 2024-01-31 11:27:20 -05:00
Liam
0c2e5b64c9 renderer_vulkan: split up blit screen resources into separate antialias and window adapt passes 2024-01-31 11:27:20 -05:00
Liam
9568b310be renderer_vulkan: isolate FXAA from blit screen 2024-01-31 11:27:20 -05:00
Liam
2b1dd3bef5 renderer_opengl: isolate core presentation code 2024-01-31 11:27:20 -05:00
Liam
453091f611 video_core: consistently account for resolution scaling when rendering 2024-01-31 11:27:20 -05:00
Liam
80de01a5b4 video_core: simplify accelerated surface fetch and crop handling between APIs 2024-01-31 11:27:20 -05:00
Fernando Sahmkow
a7c1306e2d Texture Cache: make sparse texture table per channel 2024-01-31 16:38:51 +01:00