Unknown W. Brackets
5490fb1d7c
Build: Avoid git-version regen if matching.
...
This should prevent needless rebuilds, i.e. if modifying a file only for
headless or unittest this will skip linking Core and SDL.
2022-12-24 17:42:09 +00:00
Unknown W. Brackets
24098bc233
Merge pull request #16651 from amverweij/issue16646
...
Libretro: skip leading zeros in IP address.
2022-12-24 09:11:22 -08:00
Unknown W. Brackets
bf39fedb47
Merge pull request #16649 from ppmeis/patch-1
...
Updates new strings
2022-12-24 09:08:51 -08:00
Unknown W. Brackets
c730ba765a
Merge pull request #16645 from hrydgard/range-culling-fix
...
Fix vertex shader range culling - the driver bug check was wrong.
2022-12-22 14:29:27 -08:00
Unknown W. Brackets
b9fe48f42d
Crash: Lookup block numbers more efficiently.
...
We only care about the first one in these places anyway. Also make sure
we don't try to match an invalid block number.
2022-12-20 21:02:52 -08:00
Unknown W. Brackets
6e50d527a3
Merge pull request #16634 from hrydgard/android-opengl-delete-dead-code
...
Android OpenGL: delete dead code
2022-12-20 20:36:42 -08:00
Unknown W. Brackets
c1c8a70401
Crash: Ensure we never handle faults in faults.
...
In theory, this shouldn't happen because it won't be in jit space, but
better to be sure.
2022-12-20 20:18:02 -08:00
Unknown W. Brackets
82f0502b4e
riscv: Implement CPU feature detection.
2022-12-21 03:12:16 +00:00
Unknown W. Brackets
dfbe10eb08
riscv: Fix unittest compilation on RISC-V.
2022-12-21 03:08:21 +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
Unknown W. Brackets
15908856dd
Build: Cleanup MSVC project files.
...
Remove some files that don't exist anymore, add some other platform
files for convenience.
2022-12-19 10:13:43 -08:00
Unknown W. Brackets
ef04c4f55c
Utility: Report YugiohSaveFix usage.
2022-12-19 07:56:23 -08:00
Unknown W. Brackets
74084f4420
Debugger: Don't hang mem dump if stepping in GE.
2022-12-18 21:26:59 -08:00
Unknown W. Brackets
860be93c0c
GE Debugger: Prevent double init.
...
If you were mashing record, it was possible to add two inits to the
recording, which caused playback issues.
2022-12-18 14:53:11 -08:00
Unknown W. Brackets
252966bb17
GL: Cleanup a check to use ARB instead.
2022-12-18 12:03:21 -08:00
Unknown W. Brackets
f6980b9f9d
D3D9: Avoid curve Z clip to be safe.
...
I think it does actually happen, but we don't do it in the shader, so
let's not do it here.
2022-12-18 12:01:28 -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
Unknown W. Brackets
6e8aad727b
GPU: Prevent GE_PRIM_INVALID on flush.
...
Wasn't enough to set prim temporarily here.
2022-12-18 07:23:58 -08:00
Unknown W. Brackets
e5dbdba638
GPU: Keep prevPrim_ set on flush.
...
For continuing previous verts, see #16612 . We still don't handle these
quite accurately (outside software rendering), but this should be better.
2022-12-18 07:14:19 -08:00
Unknown W. Brackets
4942ab7d83
Merge pull request #16611 from hrydgard/move-a-setting
...
Move the "Take insets into account when centering" setting to the display layout screen
2022-12-17 13:57:16 -08:00
Unknown W. Brackets
8e0158b19a
Merge pull request #16602 from hrydgard/assert-extra-info
...
Supply some extra info in asserts (currently game ID and name).
2022-12-17 13:53:20 -08:00
Unknown W. Brackets
21332c677b
Build: Allow compiling without armips.
2022-12-17 10:08:46 -08:00
Unknown W. Brackets
2b3071412e
Config: Cleanup a few more settings commonly.
2022-12-17 09:03:07 -08:00
Unknown W. Brackets
4404b3a5f2
Config: Force jit off with game-specific configs.
2022-12-17 09:03:07 -08:00
Unknown W. Brackets
5c9a38d50c
Config: Cleanup Path usage for ini file load/save.
2022-12-17 09:03:07 -08:00
Unknown W. Brackets
8c1a247b7b
Vulkan: Cleanup some logspam.
2022-12-13 18:29:23 -08:00
Unknown W. Brackets
2168188cb8
Config: Remove unused values.
2022-12-13 18:24:59 -08:00
Unknown W. Brackets
6a6ec80f62
Merge pull request #16572 from hrydgard/pipeline-cache-fix
...
Vulkan pipeline cache: Make it more lenient to useFlags changes
2022-12-13 18:08:15 -08:00
Unknown W. Brackets
fb96d79895
UI: Avoid crash on axis input during shutdown. ( #16564 )
2022-12-13 07:31:46 +01:00
Unknown W. Brackets
fe470c790e
Postshader: Reset ini keys for defaults.
...
Should fix the Vignette shader defaults, see #16562 .
2022-12-12 19:11:20 -08:00
Unknown W. Brackets
f202029d0b
Postshader: Don't save default setting values.
...
This way the defaults can change in the future without problems.
2022-12-12 19:09:14 -08:00
Unknown W. Brackets
5ae321459a
README: Add more for 1.14, note game names more.
2022-12-12 18:43:57 -08:00
Unknown W. Brackets
04f59a0913
README: Add some pull #s, more 1.14 updates.
2022-12-12 14:55:58 -08:00
Unknown W. Brackets
c33f732cc2
Merge pull request #16553 from hrydgard/one-more-string
...
Make the string "PPSSPP Homebrew Store" translatable in one more place
2022-12-11 16:36:37 -08:00
Unknown W. Brackets
10b39b9080
Merge pull request #16550 from hrydgard/hide-d3d9-on-xe-graphics
...
Hide the D3D9 option on Intel Xe graphics.
2022-12-11 12:15:40 -08:00
Unknown W. Brackets
1db0611b82
Merge pull request #16548 from hrydgard/minor-translation-fixes
...
Minor translation fixes
2022-12-11 09:30:29 -08:00
Unknown W. Brackets
c9f3878e9d
Core: Correct a use after free.
2022-12-10 21:13:37 -08:00
Unknown W. Brackets
1810692236
Global: Cleanup some type/range checks.
2022-12-10 21:13:37 -08:00
Unknown W. Brackets
9cfcbc46e6
Global: Cleanup initialization/pointer checks.
...
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
a7b7bf7826
Global: Set many read-only params as const.
...
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
e3fdb183f6
Common: Remove some unused color conv funcs.
...
We already have versions of these doing other conversions.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
f44852bb18
Global: Cleanup virtual/override specifiers.
...
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
dcfd82da05
GE Debugger: Fix src/dst stride formatting.
2022-12-10 11:01:43 -08:00
Unknown W. Brackets
a800938604
Common: Fix worker thread names.
2022-12-10 10:40:32 -08:00
Unknown W. Brackets
bba20c6db2
Merge pull request #16538 from leoxxx/master
...
Update zh_CN.ini
2022-12-10 07:52:11 -08:00
Unknown W. Brackets
b0f93ed8d6
Merge pull request #16535 from hrydgard/minor-fixes
...
Some minor initialization fixes, and fix for a potential crash found by static analysis
2022-12-10 07:09:58 -08:00
Unknown W. Brackets
0a4e3a3867
Merge pull request #16531 from hrydgard/last-frame-shaders
...
iota97's "Motion blur" - LCD persistence shader, plus fixes to make it work with OpenGL
2022-12-09 16:43:16 -08:00
Unknown W. Brackets
24b62465b7
Merge pull request #16533 from hrydgard/texture-decode-overrun-fix
...
OpenGL: Fix case in tex decoder where we could write off the end of a buffer
2022-12-09 16:32:57 -08:00
Unknown W. Brackets
d9522a7ac5
softgpu: Avoid clear hazard for last cached funcs.
2022-12-06 21:23:56 -08:00
Unknown W. Brackets
eda3ce556e
softgpu: Avoid atomic structs.
...
Apparently we don't link libatomic and rather than fighting that, I'll
just use thread local values.
2022-12-06 20:35:07 -08:00
Unknown W. Brackets
400f6abf9a
softgpu: Optimize lookup of last jit func.
...
This is common (for example, maybe a pixel state is updated but sampler is
not), and reduces time spent in ComputeRasterizerState() quite a bit in
Darkstalkers, where jits are available (i.e. Intel currently.)
2022-12-06 19:16:19 -08:00
Unknown W. Brackets
87fb9eef37
softgpu: Remove std::function usage.
...
Wanted to avoid coupling these, but don't like the std::function
construct/destructs showing in profiles...
2022-12-06 19:15:57 -08:00
Unknown W. Brackets
77c98441f4
softgpu: Expand fast path to all fb formats.
...
This should speed up 2D games not using 5551, and make it mroe likely any
regression is caught for Darkstalkers.
2022-12-06 18:43:21 -08:00
Unknown W. Brackets
08ceaf91e1
Merge pull request #16517 from hrydgard/darkstalkers-perf
...
Darkstalkers/Vampire Chronicles perf improvements
2022-12-06 17:52:15 -08:00
Unknown W. Brackets
51fa931e46
softgpu: Allow no alpha blend in 5551 fast path.
2022-12-06 06:37:51 -08:00
Unknown W. Brackets
60c129c52f
softgpu: Use no-modulate fast path for REPLACE.
2022-12-06 06:31:30 -08:00
Unknown W. Brackets
c291bd78ef
softgpu: Use a template for 5551 fast path.
...
Just refactoring here, should be the same.
2022-12-06 06:29:19 -08:00
Unknown W. Brackets
264a81913d
softgpu: Avoid checking UVs for sprites w/o tex.
2022-12-06 06:11:38 -08:00
Unknown W. Brackets
5d6b213fa7
softgpu: Avoid tri combine to rect if clipping.
2022-12-05 23:24:26 -08:00
Unknown W. Brackets
d9501cb0ad
softgpu: Fix w culling of triangle rects.
2022-12-05 23:09:55 -08:00
Unknown W. Brackets
77e510bd90
GPU: Use accurate depth for depth range hack.
...
This should be easier to ensure stays well tested.
2022-12-04 19:27:23 -08:00
Unknown W. Brackets
07c276c32d
softgpu: Fix double rectangle drawing at halfpixel.
...
There seems to be some odd behavior with the X start pos, but at least the
end pos should not be drawn twice when using 0.5 - 0.5.
2022-12-04 17:47:57 -08:00
Unknown W. Brackets
d6750993d7
softgpu: Force alpha test when it could skip blend.
...
Blending is slow, and often games do effects like smoke, sun, etc. that
has a lot of zero alpha in them. Many games do this with alpha testing
off, which is cheap compared to blending.
2022-12-04 16:36:45 -08:00
Unknown W. Brackets
2c90dafe64
softgpu: Force alpha test off in more scenarios.
...
Since we're already checking the CLUT, we can tell if it doesn't contain
zero alpha, in which case a != 0 test will never fail. This is actually
pretty common, even when texture alpha is not always FF.
2022-12-04 16:30:12 -08:00
Unknown W. Brackets
3342d5ecb3
softgpu: Remove an unused case.
2022-12-04 08:17:05 -08:00
Unknown W. Brackets
6c6133a3c1
Build: Get rid of legacy zstd support.
...
This refers to old versions of zstd we never used, and the code also
generates warnings when it's built.
2022-12-04 08:14:30 -08:00
Unknown W. Brackets
e09a1a32a3
Build: Reduce include spam in CMake.
...
This makes it more like other platforms, which don't globally include
these directories.
2022-12-04 08:07:53 -08:00
Unknown W. Brackets
8c378c4557
GPU: Avoid an override warning.
2022-12-04 07:57:45 -08:00
Unknown W. Brackets
e49668eea7
SaveState: Correct missing switch case warnings.
2022-12-04 07:57:30 -08:00
Unknown W. Brackets
0556ee67fc
SaveState: Fix a format type error.
2022-12-04 07:57:09 -08:00
Unknown W. Brackets
9e019a3a1a
Build: Silence SFMT warning.
2022-12-04 07:53:15 -08:00
Unknown W. Brackets
4378de6aa0
Build: Use Windows 2019 for UWP builds.
2022-12-04 07:29:21 -08:00
Unknown W. Brackets
59431de823
Merge pull request #16494 from hrydgard/force-lower-res-for-effects-off
...
Force "Lower resolution for effects" off in Ratchet & Clank and a few other games
2022-12-03 15:25:57 -08:00
Unknown W. Brackets
3f620dba58
Vulkan: Reduce some logging when things are fast.
...
On startup especially this spams sometimes.
2022-12-03 14:56:58 -08:00
Unknown W. Brackets
78ed8d45a7
Vulkan: Defer deletion of shader module promises.
2022-12-03 14:53:10 -08:00
Unknown W. Brackets
53eedf06e3
Vulkan: Track pipeline desc using a refcount.
...
Not very safe to not allow deletes, and don't want to force Draw objects
on the deleter (this is referenced by them.)
2022-12-03 14:52:06 -08:00
Unknown W. Brackets
00e76b11b6
softgpu: Optimize > non-zero alpha tests as well.
...
These are fairly common, especially in 3D games.
2022-12-03 12:55:38 -08:00
Unknown W. Brackets
eb19e24399
softgpu: Skip non-zero alpha test if impossible.
2022-12-03 12:54:53 -08:00
Unknown W. Brackets
adc94b1950
softgpu: Use CLUT to optimize out blending more.
...
This actually happens relatively often.
2022-12-03 12:44:02 -08:00
Unknown W. Brackets
0aba5ff3c1
TexCache: Correct alpha mask checks for SSE2.
...
Should have been shifts by byte (4/8), but let's just switch to shuffles
anyway. These were always shifting in zeros and failing.
2022-12-03 12:38:01 -08:00
Unknown W. Brackets
38eb0a7a82
softgpu: Check for queued compile.
...
Rarely, we could have queued compiling the same one, which would crash on
a double insert.
2022-12-03 12:15:58 -08:00
Unknown W. Brackets
2b58ac7e95
Psmf: Fix pointer check.
2022-12-03 07:17:27 -08:00
Unknown W. Brackets
e50eae1bfb
GPU: Cleanup some bounds checks, assignments.
2022-12-03 07:17:12 -08:00
Unknown W. Brackets
7c16c4dbb9
Merge pull request #16489 from mjunix/small-fixes
...
Small fixes
2022-12-03 07:03:10 -08:00
Unknown W. Brackets
204789a27f
softgpu: Skip fog when no verts have fog.
2022-12-02 21:55:49 -08:00
Unknown W. Brackets
0c42e45e92
softgpu: Cleanup reapply logic.
...
This makes more sense to read.
2022-12-02 21:42:57 -08:00
Unknown W. Brackets
4d92533907
softgpu: Apply optimizations to states generically.
...
This is for optimizations we can only do when we know the vertex values.
2022-12-02 21:30:53 -08:00
Unknown W. Brackets
6bd0eec54d
softgpu: Calc flags on state as we queue verts.
...
Might be some other ways, like doing this directly in a vertex reader.
Also am thinking about doing things regarding UVs or positions.
Flags not yet used, keeping separate for perf checks.
2022-12-02 21:28:50 -08:00
Unknown W. Brackets
a04b7cf3b3
softgpu: Force shading flag off in clearMode.
...
Probably fixes a line shading bug, and clearer anyway.
2022-12-02 21:20:59 -08:00
Unknown W. Brackets
778a0487cb
softjit: Switch to DenseHashMap.
2022-12-02 20:59:13 -08:00
Unknown W. Brackets
7dee26eae4
Merge pull request #16482 from hrydgard/savestate-checkpoints
...
Add savestate checkpoints to verify that MEASURE and WRITE match
2022-12-02 14:06:14 -08:00
Unknown W. Brackets
0c19f6ae1d
Merge pull request #16484 from lvonasek/compat_openxr_fixes
...
OpenXR - HUD support for even more games
2022-12-02 14:03:23 -08:00
Unknown W. Brackets
1121a6fb68
softgpu: Handle inf-end + negative constant slope.
2022-12-02 10:20:30 -08:00
Unknown W. Brackets
38de2f11af
softgpu: Handle infnan fog coefficients better.
...
If we ended up with a dot product that had opposing inf signs, the add
would result in NAN and cause problems.
2022-12-02 10:15:15 -08:00
Unknown W. Brackets
c5844c4174
GE Debugger: Add breakpoint symbol for prim count.
...
This way you can break when a register is changed and prim count is in a
certain range, which can be convenient.
2022-12-02 10:14:36 -08:00
Unknown W. Brackets
6619da2a0d
Debugger: Add decimal constants.
...
For the GE debugger and CPU debugger, it's annoying sometimes to express
everything in hex. This allows using an i or u prefix to get decimal.
2022-12-02 10:13:32 -08:00
Unknown W. Brackets
106d730a20
GPU: Optimize out common case texture proj.
...
NFS Most Wanted 5-1-0 uses this when it could use uv scale/offset.
2022-12-01 23:20:25 -08:00
Unknown W. Brackets
33abbca464
softgpu: Optimize out texture proj for UVs.
...
Seen in NFS Most Wanted 5-1-0.
2022-12-01 23:13:20 -08:00
Unknown W. Brackets
d7224a8401
GE Debugger: Cleanup logspam on game exit.
...
If you're stopped on a frame and quit, it was previously logging every
command as it exited, thinking it was waiting on each.
2022-12-01 23:12:14 -08:00
Unknown W. Brackets
cb7131b314
Merge pull request #16479 from JohnnyonFlame/vreinterpret-fix
...
Fix wrong vreinterpret neon intrinsic usage.
2022-12-01 22:39:03 -08:00