Commit Graph

9567 Commits

Author SHA1 Message Date
Henrik Rydgård e3841ddb4a Accept 1D stretch as pixel mapped 2024-01-11 12:56:03 +01:00
Henrik Rydgård 341fe04f4b Apply nearest filter for pixel-mapped draws 2024-01-11 12:56:03 +01:00
Henrik Rydgård 944b3c5be5 Add pixel mapping detection for through mode RECT primitives 2024-01-11 12:56:03 +01:00
Henrik Rydgård 6e12465dc4 Move through-mode UV scaling for rects from Transform to ExpandRectangles 2024-01-11 12:56:03 +01:00
Henrik Rydgård 0b6ea4b2e5 Use the Tokimeki / old Juiced 2 method for Breath of Fire III
Allows us to delete a bunch of complex code.
2024-01-11 10:44:13 +01:00
Henrik Rydgård b4fe03de8b Better solution, still pretty much optimal. 2024-01-10 18:14:59 +01:00
Henrik Rydgård d0817c4c0a Vulkan: Fix trying to compare uninitialized parts of packed descriptors
Found by Valgrind.

Other minor cleanup, too.
2024-01-10 12:10:20 +01:00
Henrik Rydgård a6f041568b Allow merging framebuffers vertically like the old Juiced 2 fix.
Fixes Tokimeki Memorial 4 rendering.

Fixes #6379, see comments.
2023-12-30 22:40:07 +01:00
Unknown W. Brackets 80bd328a9d Merge pull request #18638 from hrydgard/more-tex-replacement-details
Fix two minor tex replacement issues
2023-12-29 10:21:43 -08:00
Henrik Rydgård daa9fab32a Don't try to replace textures if there's just an empty TEXTURES/{GAMEID} folder. 2023-12-29 19:06:43 +01:00
Henrik Rydgård 3ffcf267cb Allow replacing mip levels of a texture even without a ini file. Probably niche. 2023-12-29 19:06:20 +01:00
Henrik Rydgård 46b25d20a4 Merge pull request #18637 from unknownbrackets/riscv-more
Add some more RISC-V extensions to emitter
2023-12-29 19:03:49 +01:00
Unknown W. Brackets d6ce03e1db Audio: Correct log function name. 2023-12-29 09:42:23 -08:00
Unknown W. Brackets 15cb782f85 riscv: Implement Zfa encoding.
Not yet enabled/detected.
2023-12-29 09:42:23 -08:00
Henrik Rydgård e3177ac870 Make some global string pointers const, not just the strings.
Minor cleanup.
2023-12-29 14:09:45 +01:00
Henrik Rydgård f22249cef5 Reject zero-vertex-count draws.
I thought all the code was safe against it, but it isn't.
2023-12-29 14:09:45 +01:00
Henrik Rydgård 126d88ecfc Back out clearly inconsequential/useless .reserve() calls 2023-12-29 08:27:56 +01:00
Henrik Rydgård acbd32c5f1 Fix GE frame dumps, no longer produces only 1kb files.
Broke in ca94de8d4b
2023-12-28 20:27:32 +01:00
Henrik Rydgård 80c6dbfdfe Minor: bugfix in texreplacer, darker alpha chessboard in texture viewer 2023-12-28 19:46:36 +01:00
Henrik Rydgård 3895cfff74 Add "Analog trigger threshold" setting, for conversion of analog trigger inputs to digital button inputs. 2023-12-28 13:36:03 +01:00
Henrik Rydgård 822ebf9dfb Use the correct culling function in the fast draw-continuation loop 2023-12-28 10:40:56 +01:00
Henrik Rydgård faef4aae2c Add a comment on how to fix the actual bug. 2023-12-25 17:39:28 +01:00
Henrik Rydgård c2963c7941 Fix issue where "Texture replacement pack activated" wasn't displayed without an ini 2023-12-25 13:25:28 +01:00
Henrik Rydgård 126d70cf9d Improve handling of texture packs without .ini files (not recommended, but exists) 2023-12-25 13:25:28 +01:00
Henrik Rydgård 849000a958 Texture replacer: Break out two functions from LoadIniValues 2023-12-25 13:25:27 +01:00
Henrik Rydgård 0f3dca5cea Revert a bad "optimization" I made in #18587 2023-12-25 12:03:09 +01:00
Henrik Rydgård cf81ae1b4e Merge pull request #18599 from hrydgard/tactics-ogre-eliminate-readback
Tactics Ogre: Remove a redundant GPU readback operation
2023-12-22 22:51:21 +01:00
Henrik Rydgård 8601c5a3bc Merge pull request #18596 from hrydgard/more-control-refactor
More control refactor
2023-12-21 13:40:41 +01:00
Henrik Rydgård 437b292b7d Tactics Ogre: Remove a redundant readback operation it performs a lot. 2023-12-21 12:37:34 +01:00
Henrik Rydgård e488189723 Inline UpdateUVScaleOffset 2023-12-21 12:10:10 +01:00
fp64 d35c10beb6 Fix texture upscaler bug
Was not actually affecting anything, since this path is not used.
Still better fix it, for correctness sake.
2023-12-21 11:55:45 -05:00
Henrik Rydgård ac208505a5 Remove bad debug assert 2023-12-21 11:48:52 +01:00
Henrik Rydgård a9553f4eef Merge pull request #18586 from hrydgard/indexgen-opt
DrawEngine: Avoid decoding indices when we don't need them.
2023-12-20 15:28:48 +01:00
Henrik Rydgård e9736186aa Merge pull request #18587 from hrydgard/minor-vshader-opt
Minor lighting optimization in vshader
2023-12-20 15:27:01 +01:00
Henrik Rydgård dd1396e2fd Merge pull request #18581 from GermanAizek/lower-scope
Reduced lower scope for local objects
2023-12-20 14:53:36 +01:00
Henrik Rydgård 2238fab601 Minor lighting optimization in vshader 2023-12-20 14:47:49 +01:00
Henrik Rydgård 61acce195c Avoid decoding indices when we don't need them. 2023-12-20 14:25:19 +01:00
Herman Semenov ca94de8d4b [GPU/Common/DX9/GLES/Software] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:34:34 +03:00
Henrik Rydgård bca83c0baf Buildfix 2023-12-19 14:44:21 +01:00
Henrik Rydgård f86189c951 Show vertex decoders separately in profiles 2023-12-19 12:25:54 +01:00
Henrik Rydgård 50bcb2a77a Add "Disable culling" as a speedhack for experimentation
Range culling (which we'll just call culling in the setting
name) still is problematic enough that it can be useful to have this
way to turn it off as an escape route. Since disabling it can break some
games like famously TOCA, it needs to be under speedhacks, though likely
the performance change is minimal.

See for example #17061
2023-12-18 13:13:44 +01:00
Henrik Rydgård 02eb10649d Improve checks 2023-12-18 09:12:44 +01:00
Henrik Rydgård b2729507a1 Assorted debugger-related fixes
Also fixes issue where the rewind machinery would run even during pause.
2023-12-18 00:21:53 +01:00
Henrik Rydgård bbcaeb9d13 Merge pull request #18557 from GermanAizek/reserve-add
Using reserve in different places PPSSPP
2023-12-15 12:28:21 +01:00
Herman Semenov 0748ce610f [GPU/Common/D3D11/Directx9/GLES/Vulkan] Using reserve if possible 2023-12-15 14:08:22 +03:00
Henrik Rydgård acbc9dc94f DXT5: Fix decoding of alpha channel for textures with a non-mod-4 width. 2023-12-15 10:27:24 +01:00
Henrik Rydgård 748193f227 Fix issue with misdetection of framebuffer copies.
Fixes #18512
2023-12-14 23:16:21 +01:00
Henrik Rydgård 155222145a Merge pull request #18550 from GermanAizek/fix-memsize-type
[Common Data Net/Core Debugger HLE/GPU Debugger] Fixed reduction data type size to strict 32-bit integer
2023-12-14 17:51:08 +01:00
Herman Semenov 309f0d97f2 [Common Data Net/Core Debugger HLE/GPU Debugger] Fixed reduction data type size to strict 32-bit integer 2023-12-14 19:26:10 +03:00
Henrik Rydgård ebaebf5945 Merge pull request #18546 from GermanAizek/make-smart-ptr
[Common Data/Core Dialog HLE/GPU Common Vulkan] Optimize create smart pointers using C++17 std::make_*
2023-12-14 14:02:55 +01:00