Commit Graph

925 Commits

Author SHA1 Message Date
goeiecool9999
a9f8e6430d fix linux build without vulkan 2026-04-21 13:50:46 +02:00
emiyl
3b0e5cef00 fix LatteDecompilerAnalyzer checking for metal and then refusing metal lol 2026-04-21 12:43:28 +01:00
emiyl
df997bc9c8 use #ifdef for ENABLE_METAL too to be consistent 2026-04-21 12:38:30 +01:00
goeiecool9999
d0852812cc fix linux build without openGL 2026-04-21 13:29:17 +02:00
emiyl
594f377671 isolate more stuffs to opengl/vulkan only 2026-04-21 12:26:33 +01:00
emiyl
6e7d95714a fix cmakelists 2026-04-21 12:20:54 +01:00
emiyl
db4b8f3a9d move Common/CommonRendererCore -> RendererCore 2026-04-21 12:06:57 +01:00
goeiecool9999
5ede01ac6d also remove empty if statement when vulkan is disabled on macOS 2026-04-21 12:46:22 +02:00
emiyl
53fe038e82 change default graphic api values depending on what's enabled 2026-04-21 02:59:52 +01:00
emiyl
b6bcb954c4 give consistent config values for selecting graphic apis 2026-04-21 02:59:35 +01:00
emiyl
46ab3966ff build macos with no opengl as default 2026-04-21 02:15:56 +01:00
emiyl
e98a725c0b remove "Currently required" from ENABLE_OPENGL in build.md 2026-04-21 01:50:35 +01:00
emiyl
238323b9fe whoopsies misplaced my bracket 2026-04-21 01:49:22 +01:00
emiyl
8d8722a264 pragma once the LatteRingBuffer header 2026-04-21 01:34:53 +01:00
emiyl
5ee1759dee fix graphic api setting and selection in GeneralSettings2 and MainWindow 2026-04-21 01:28:16 +01:00
emiyl
b6d0c66e91 use correct include file for glcleartexsubimage 2026-04-21 01:05:46 +01:00
emiyl
b02a2cd2c0 move cmake compile definitions to appropriate place 2026-04-21 01:02:19 +01:00
emiyl
e30558a503 move LatteDefaultShaders to opengl only and add ifdef opengl to latteshader_prepareseparableuniforms 2026-04-21 00:55:17 +01:00
emiyl
4be30f6ef9 condense attribute pointer cache functions and move handleSpecialState8_clearAsDepth to common renderer 2026-04-21 00:49:41 +01:00
emiyl
828ddea0a8 actually rename it back to LatteDraw for consistency 2026-04-21 00:36:20 +01:00
emiyl
ed5b73938c Create CommonRendererCore to move LatteDraw_cleanupAfterFrame away from opengl stuffs 2026-04-21 00:34:30 +01:00
emiyl
3bb486c68e another include conditional and another switch for LatteDecompiler.cpp 2026-04-20 23:38:10 +01:00
emiyl
becab72c13 set_compile_definitions -> add_compile_definitions 2026-04-20 23:33:37 +01:00
emiyl
d65d6d26b8 wrap this switch in braces 2026-04-20 23:27:08 +01:00
emiyl
5d185dc203 fix cmake syntax 2026-04-20 23:25:18 +01:00
emiyl
cf36aaaf3b add m_api_map to generalsettings2 and separate vulkan/opengl 2026-04-20 23:08:30 +01:00
emiyl
0bd8c2f061 fix #if in activesettings 2026-04-20 23:06:52 +01:00
emiyl
d63551c3ca whoopsies syntax errors 2026-04-20 22:52:39 +01:00
emiyl
49ebeb0764 remove vulkan/opengl code if ENABLE_VULKAN or ENABLE_OPENGL is not defined 2026-04-20 22:46:57 +01:00
Emma
02383542b2
mac: Allow running without logicOp and update macOS build instructions (#1880) 2026-04-18 22:57:27 +02:00
Emma
5ac87ba7f3
mac: Log CPU and OS version (#1879) 2026-04-18 19:53:21 +02:00
goeiecool9999
5ee74b5a6a GL: clean up shader object after compilation
On Linux/mesa, when compiling a big shader cache like BOTW this saves about 8.2 GiB of RAM usage
(only when ~/.cache/mesa_shader_cache and precompiled/_gl.bin cache is also fresh)
2026-04-18 18:48:54 +02:00
shinra-electric
b2c34fb1df
ci: Silence macOS runner warnings as ninja is already preinstalled (#1878) 2026-04-17 05:59:37 +02:00
shinra-electric
deb000f947
build+mac: Add current year to app bundle copyright (#1877) 2026-04-17 05:42:03 +02:00
goeiecool9999
553990a25e debugger: fix crash when adding breakpoint
Checking the item in the event handler that is triggered when an option is checked caused recursion stack overflow

fixes: #1876
2026-04-16 10:31:04 +02:00
shinra-electric
125765c913
ci+mac: Codesign macOS app bundle (#1875) 2026-04-16 03:26:26 +02:00
shinra-electric
d96104d00d
ci+mac: Fix rpath for libusb (#1874) 2026-04-16 03:18:44 +02:00
Emma
9e28d6d3ef
build.MD: Update macos build instructions (#1872) 2026-04-13 23:24:30 +02:00
Sapphire
7e5516f94d
Vulkan: Fix compile error on glibc 2.43 (#1870) 2026-04-12 05:16:07 +02:00
goeiecool9999
391478b307
vulkan: Improve the Breath of the Wild RADV/LLVM workaround (#1862) 2026-04-10 22:46:51 +02:00
iPixzl
1644fd2e09
GamePatch: Add additional FFL endian-swap patch signature for Mario Kart 8 (#1867) 2026-04-10 22:45:27 +02:00
goeiecool9999
b9b46ecb65
Vulkan: Use LLVM shader compiler for BOTW on Linux + Mesa (#1857)
Workaround for GPU crashes when using certain runes in BOTW
Can be overridden by setting RADV_DEBUG=aco
2026-04-04 19:14:49 +02:00
goeiecool9999
b3e310220e vulkan: use the right exit function when vulkan fails to initialize.
(fixes: #1833)
2026-04-04 16:48:43 +02:00
GaryOderNichts
c16936d381
build: Link zstd explicitly (#1860) 2026-04-04 16:32:12 +02:00
goeiecool9999
fd1a1d1688 unix: simplify the case-insensitivity algorithm 2026-04-03 02:47:52 +02:00
goeiecool9999
72b5740ed4 unix: check current working directory for case-insensitive relative paths when no more parents 2026-04-03 02:30:48 +02:00
goeiecool9999
a1d47c37b6 unix: handle edge case where path does not exist
fixes crash when passing an invalid path with the "-g" launch option
the algorithm would recurse up the tree infinitely looking for blank parent directories
probably fixes more things
2026-04-03 01:11:56 +02:00
Squall Leonhart
2913a8ca7a
input: Fix bitwise operation for button mask (#1851)
Fixes classic controller buttons which were shifted beyond 32bit range
2026-03-29 08:56:12 +02:00
Exzap
6648a9c225 coreinit: Log errors in OSUnlockMutex instead of debug asserts 2026-03-24 04:15:28 +01:00
Exzap
f2f70e5df8 GX2: Fix several missing/incorrect cmd reserve calls 2026-03-24 04:15:28 +01:00