Commit Graph

40582 Commits

Author SHA1 Message Date
Henrik Rydgård
b8dac21ede Headless: Test making the graphics settings like they're uninitialized 2024-07-17 19:52:47 +02:00
Henrik Rydgård
970cc5da24 Use config defaults in the headless binary.
Fixes #19332
2024-07-17 18:21:03 +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