Commit Graph
3121 Commits
Author SHA1 Message Date
Henrik Rydgård a5747d53b3 Fix some report spam 2023-01-02 22:23:50 +01:00
Henrik Rydgård 0e3cf9862e ComputePathTo: Handle case where from == to. 2023-01-02 22:10:00 +01:00
Henrik Rydgård a3252078e6 Reorder the information in assert lines by importance, to avoid the juicy stuff getting cut out 2023-01-02 16:43:01 +01:00
Henrik Rydgård f7df69f50c Change a Crash() to an _assert_msg_ 2023-01-01 17:23:24 +01:00
Henrik Rydgård 1353817afa Merge pull request #16689 from unknownbrackets/vk-shutdown
Vulkan: Avoid race in compile thread exit
2023-01-01 15:59:55 +01:00
Unknown W. Brackets 6c79d94814 Vulkan: Avoid race in compile thread exit. 2023-01-01 06:40:26 -08:00
Henrik Rydgård 9ceffa284d Vulkan: Add robustness against bad shader module compiles 2022-12-31 12:21:53 +01:00
Henrik Rydgård d2feb444b7 Bunch of defensive programming around shaders 2022-12-31 12:21:51 +01:00
Henrik Rydgård 25cf61f8c7 Merge pull request #16680 from unknownbrackets/zip-thread
Make sure we don't multithread libzip access
2022-12-31 08:37:30 +01:00
Unknown W. Brackets 48504ffcc9 VFS: Use a lock for zip asset reading.
We can't read multiple at once.
2022-12-30 20:34:52 -08:00
Henrik Rydgård cee71cbfc3 Add some extra room to the alt stack for exception handlers.
Motivated by some crashes seen in Google Play reports.
2022-12-30 11:25:45 +01:00
Henrik Rydgård d83f84fdfd DrawContext destructor: Need to call DestroyPresets earlier. 2022-12-29 17:32:49 +01:00
Henrik Rydgård 10c0b3f2ae Comment improvements 2022-12-29 00:39:59 +01:00
Henrik Rydgård 67cba831dd Slightly more useful assert message in Hashmaps.h 2022-12-29 00:39:59 +01:00
Henrik Rydgård 708162a2b0 Vulkan validation layers: Cap outputting the same message at 10 times. 2022-12-29 00:39:59 +01:00
Henrik Rydgård 463d703feb More assorted cleanup 2022-12-29 00:39:59 +01:00
Unknown W. Brackets 4f216c941e Vulkan: Fix reverse dependency on config. 2022-12-27 15:32:35 -08:00
Unknown W. Brackets 68fb7a477d UI: Fix tiny reverse dependency. 2022-12-27 15:18:35 -08:00
Unknown W. Brackets 682f5fae97 UI: Fix reverse-dependency in PathBrowser. 2022-12-27 15:08:57 -08:00
Unknown W. Brackets 49f6c461ad Reporting: Fix some header includes.
Particularly in Common, avoid including Core/Reporting.h.
2022-12-27 14:58:20 -08:00
Unknown W. Brackets ec309d55ab GPU: Cleanup definition of shader resources.
Was in the wrong header file, which was a bit confusing.
2022-12-27 14:35:49 -08:00
Unknown W. Brackets 0496ca32ff Global: Cleanup some minor includes and typos. 2022-12-27 08:33:07 -08:00
Unknown W. Brackets 348b6f12f3 Vulkan: Remove some unused values. 2022-12-26 10:14:15 -08:00
Lubos 56443a007c OpenXR - Force flat mode for Madden NFL games 2022-12-26 15:57:29 +01:00
Unknown W. Brackets 4fa071e78a riscv: Implement basic crash handler.
Tested by letting it recover non-guest crashes.
2022-12-24 19:08:31 +00:00
Unknown W. Brackets f6c26ecac0 Headless: Prevent crash on errors in graphics init. 2022-12-24 17:43:32 +00:00
Henrik Rydgård 25115fee7f Found a bug where we tried to look up queue family -1 when initializing the frame profiler. 2022-12-23 11:37:59 +01:00
Henrik Rydgård fafd0b4d51 Merge pull request #16635 from unknownbrackets/riscv
riscv: Implement CPU feature detection
2022-12-22 15:34:28 +01:00
Henrik Rydgård a5aac94a78 Add a debug check in drawbuffer 2022-12-22 11:13:52 +01:00
Henrik Rydgård 31d5881c90 Enable support for Android Vulkan validation. Fix a minor validation error. 2022-12-22 11:13:52 +01:00
Henrik Rydgård f68ba55f96 Minor initialization cleanups 2022-12-22 11:13:52 +01:00
Unknown W. Brackets 82f0502b4e riscv: Implement CPU feature detection. 2022-12-21 03:12:16 +00:00
Unknown W. Brackets 5916b3f3a8 riscv: Fix compile error on clang.
This also works on gcc.
2022-12-21 03:07:47 +00:00
Henrik Rydgård e209227be1 Delete dead code path (initialize EGL from C++ on Android) 2022-12-20 23:17:51 +01:00
rofl0r f406a207fc VRBase: fix build error with musl libc
```
ppsspp-1.14.1/Common/VR/VRBase.cpp:94:9: error: 'exit' was not declared in this scope
   exit(1);                                                                   
```
exit() is declared in stdlib.h, but due to namespace pollution in glibc it happens to work there.
2022-12-20 14:50:08 +00:00
Henrik Rydgård e9ed8370a7 Merge pull request #16608 from unknownbrackets/ini-load-cleanup
Cleanup value corrections in config load/save
2022-12-19 23:01:51 +01:00
Henrik Rydgård 6daaa5a94f Merge pull request #16627 from unknownbrackets/report-yugioh
Utility: Report YugiohSaveFix usage
2022-12-19 17:48:21 +01:00
Unknown W. Brackets ef04c4f55c Utility: Report YugiohSaveFix usage. 2022-12-19 07:56:23 -08:00
Henrik Rydgård 79ad513b03 Merge pull request #16626 from unknownbrackets/gl-cleanup
GL: Cleanup a check to use ARB instead
2022-12-19 16:51:57 +01:00
Henrik Rydgård 9f552b9003 Merge pull request #16615 from unknownbrackets/d3d9-clip-planes
D3D9: Support old-style user clip planes
2022-12-19 08:12:15 +01:00
Henrik Rydgård 6922ee7e52 Add some asserts in the hope of gathering some more info (and consolidating some crashes). 2022-12-18 21:58:20 +01:00
Unknown W. Brackets 252966bb17 GL: Cleanup a check to use ARB instead. 2022-12-18 12:03:21 -08:00
Unknown W. Brackets 3e77cb1475 D3D9: Support old-style user clip planes.
This fixes negative Z issues on D3D9 in many cases, such as #14168
and #16574, but only when clip planes are supported.
2022-12-18 11:04:33 -08:00
Henrik Rydgård 2ab7222d5b Clear the extra assert info on game exit 2022-12-17 22:17:29 +01:00
Henrik Rydgård 800bc91a8a Supply some extra info in asserts (currently game ID and name).
Google Play Console can now show this along with the assert stacktrace.
2022-12-17 22:14:47 +01:00
Unknown W. Brackets 5c9a38d50c Config: Cleanup Path usage for ini file load/save. 2022-12-17 09:03:07 -08:00
Henrik Rydgård 26884150d7 Remove the 0th descriptor set, move everything else back to 0 2022-12-16 13:05:40 +01:00
Jan Beich 6a9334e6f0 OpenXR - Correct NULL type for XrSession
Common/VR/VRBase.cpp:220:30: error: assigning to 'XrSession' (aka 'unsigned long long') from incompatible type 'nullptr_t'
                engine->appState.Session = NULL;
                                           ^~~~
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
 #define NULL    nullptr
                 ^~~~~~~
2022-12-15 15:31:09 +00:00
Henrik Rydgård e6b7817cc6 Disable pre-rotation for 270 degree transform (inverse landscape).
Causes bizarre issues, see #15773
2022-12-15 11:29:11 +01:00
Henrik Rydgård a44af59f3a Use vendor instead of lazy memory to detect tiling GPUs. 2022-12-14 16:59:20 +01:00