Commit Graph

40707 Commits

Author SHA1 Message Date
Henrik Rydgård
417d346e03 Vulkan validation warning fix 2024-07-19 11:43:35 +02:00
Henrik Rydgård
d7d37e58d4 Remove the title from the "Rotation" popup button. Fixes #17201 2024-07-19 09:55:22 +02:00
Henrik Rydgård
7c817f3ecd Add helper for Vulkan struct chaining 2024-07-19 09:45:02 +02:00
Henrik Rydgård
ec4f0d0eac
Merge pull request #19344 from fjtrujy/master
Update Docker layer SDL dependency
2024-07-19 00:58:54 +02:00
Henrik Rydgård
2036e0fcd7
Merge pull request #19343 from hrydgard/retroachievements-leaderboard-position
RetroAchievements leaderboard: Show new rank, or personal best, after submission
2024-07-19 00:57:44 +02:00
Francisco Javier Trujillo Mata
d17c67bcdc Update docker layer GHA workflow 2024-07-19 00:23:09 +02:00
Francisco Javier Trujillo Mata
b58b04f6b2 Using latest sdl2 version 2024-07-19 00:23:09 +02:00
Henrik Rydgård
fb2722f2c5 RetroAchievements leaderboard: Show new rank, or personal best, after submission. 2024-07-18 23:15:27 +02:00
Henrik Rydgård
02abd39479
Merge pull request #19341 from hrydgard/dump-binary-notification
Add a clickable notification if "Dump decrypted EBOOT" is enabled
2024-07-18 14:32:29 +02:00
Henrik Rydgård
4b615f00f4
Merge pull request #19340 from hrydgard/getstat-dir-fix
sceIoGetStat: Fix retrieving timestamps from directories
2024-07-18 14:32:15 +02:00
Henrik Rydgård
a95ead4847 Add a clickable notification if "Dump decrypted EBOOT" is enabled
Makes it easier to find the file.
2024-07-18 14:08:22 +02:00
Henrik Rydgård
d331e80542 sceIoGetStat: Fix retrieving timestamps from directories 2024-07-18 13:37:32 +02:00
Henrik Rydgård
77ad24d8d4 Add basic debug/build config for VS Code. Works in WSL (with CodeLLDB extension installed) 2024-07-18 12:58:53 +02:00
Henrik Rydgård
a76afa926d
Merge pull request #19337 from hrydgard/compile-old-sdl
Add ifdefs to try to be compatible with old SDL versions
2024-07-17 23:45:09 +02:00
Henrik Rydgård
c880c17327
Merge pull request #19338 from hrydgard/remove-runtime-neon-checks
ARM32: Remove runtime checks for VFPv3 and NEON
2024-07-17 23:44:50 +02:00
Henrik Rydgård
fb499bf5bf ARM32: Remove runtime checks for VFPv3 and NEON since we require these when building anyway. 2024-07-17 22:14:24 +02:00
Henrik Rydgård
04c4f7b25a Add ifdefs to try to be compatible with old SDL versions 2024-07-17 22:04:32 +02:00
Henrik Rydgård
320a1cfc8f
Merge pull request #19325 from Nabile-Rahmani/display-refresh-rate-option
[Feature] Option to override the display refresh rate
2024-07-17 20:25:38 +02:00
Henrik Rydgård
d80bf4d5e1
Merge pull request #19304 from hrydgard/disable-alt
Allow "Alt" to act like a normal keyboard input, if it's been mapped to something
2024-07-17 20:25:13 +02:00
Henrik Rydgård
9b095a9e16 New approach: If Alt is mapped to anything, don't have it open the menu. 2024-07-17 20:09:48 +02:00
Henrik Rydgård
2ddba06312 Have "Disable Windows Keys" also disable Alt, so it can be mapped. 2024-07-17 20:02:55 +02:00
Henrik Rydgård
5d365e262b
Merge pull request #19329 from hrydgard/improve-sceutility-logging
Improve sceUtility logging, assorted cleanup
2024-07-17 17:59:48 +02:00
Henrik Rydgård
b8f05580fc
Merge pull request #19334 from hrydgard/improved-provoking-vertex-fix
Improved provoking vertex fix
2024-07-17 16:54:39 +02:00
Henrik Rydgård
5202d05c47
Merge pull request #19335 from hrydgard/miniupnp-buildfix
Apply miniupnp buildfix proposed in #19333
2024-07-17 16:54:06 +02:00
Henrik Rydgård
3cd0e18556 Apply miniupnp buildfix proposed in #19333
See #19333
2024-07-17 16:23:39 +02:00
Henrik Rydgård
7738899434 Fix triangle strip vertex order to have a consistent provoking vertex 2024-07-17 16:12:03 +02:00
Henrik Rydgård
096985f51f Provoking vertex (software transform): Simpler solution
Simply rotate each primitive in the index buffer to simulate a different provoking vertex.

Since at this point we have already generated a plain primitive index
buffer, it's easy to manipulate like this.

An even better solution would be to generate rotated index buffers
directly during decode, although that code is super critical and does
not need more complexity..

We could now also enable this for hardware transform but I'm leaving
that for later.
2024-07-17 14:40:52 +02:00
Henrik Rydgård
6b1e57a840 We never draw non-indexed in software transform mode, so get rid of the path. 2024-07-17 14:40:52 +02:00
Henrik Rydgård
665f03ff62 Add provoking vertex to caps, flip the flag around 2024-07-17 14:40:52 +02:00
Henrik Rydgård
f6aa86dfee Add a comment 2024-07-17 14:40:52 +02:00
Henrik Rydgård
5921b9d041 Fix stereo MP3s as custom achievement sound effects 2024-07-17 14:37:15 +02:00
Henrik Rydgård
434b361f45
Merge pull request #19331 from hrydgard/vk-ext-provoking-vertex
Vulkan: Use VK_EXT_provoking_vertex, when available, to get OpenGL/PSP behavior for flat shading
2024-07-17 12:09:24 +02:00
Henrik Rydgård
138193a776 Add support for the EXT_provoking_vertex Vulkan extension, allowing us to skip software transform for this case. 2024-07-17 10:41:25 +02:00
Henrik Rydgård
2a35a92514 Vulkan: Check the device features *after* the extension checks. Necessary for the next step. 2024-07-17 10:32:47 +02:00
Henrik Rydgård
9f1f75ddab Refactor: Merge the ChooseDevice function into CreateDevice 2024-07-17 10:31:49 +02:00
Henrik Rydgård
bc3c57ffc0 Minor formatting issue 2024-07-16 23:35:21 +02:00
Henrik Rydgård
72180076b3 Update gradle 2024-07-16 23:35:05 +02:00
Henrik Rydgård
f18715bb7c Some renaming 2024-07-16 22:04:41 +02:00
Henrik Rydgård
4582ee692a More logging changes 2024-07-16 22:04:41 +02:00
Henrik Rydgård
70cb1104dc Kirk: Remove use of uninitialized stack as a random number source
This confused Valgrind and made me think we had another memory bug.

Turns out this is NOT the cause of #13781, which I still don't
understand.
2024-07-16 22:04:41 +02:00
Henrik Rydgård
cde71fc2b3 Misc cleanup 2024-07-16 22:04:41 +02:00
Henrik Rydgård
f8bf0bfbb5 Add some new logging to sceUtility to try to figure out the Silent Hill problem 2024-07-16 22:04:41 +02:00
Henrik Rydgård
cb9c230e4e Valgrind: Add suppression file to be able to use Valgrind on PPSSPP in WSL2 on Windows 2024-07-16 19:52:00 +02:00
Henrik Rydgård
77f92f639a
Merge pull request #19327 from Kethen/right_stick_analog
allow binding custom right stick to analog
2024-07-16 17:43:21 +02:00
Katharine Chui
9b9f7bdcd3
bump com.gladed.androidgitversion to fix android studio building (#19328)
fixes "Could not find com.android.tools.build:gradle:2.3.3."

ref: https://github.com/gladed/gradle-android-git-version/issues/55
2024-07-16 16:53:35 +02:00
Katharine Chui
d7fd44280a allow binding custom right stick to analog 2024-07-16 16:06:13 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
ae3ff686f0
Merge pull request #19326 from lvonasek/feature-openxr-supersampling
OpenXR - Add FBO supersampling
2024-07-14 14:12:39 +02:00
Nabile Rahmani
730613ce67
Scale speed percentage calculation to eliminate micro deviations 2024-07-14 11:30:11 +02:00
Nabile Rahmani
9272f02ba2
Initialise framerate-related variables in __DisplayInit()
This takes into account the user configuration a frame in advance.
2024-07-14 08:21:46 +02:00