Commit Graph
45601 Commits
Author SHA1 Message Date
Henrik Rydgård 933c909c03 Merge pull request #16717 from unknownbrackets/shader-errors
GPU: Avoid uint by int shifts in reinterpret
2023-01-04 08:22:05 +01:00
Unknown W. Brackets d45142ebaa GPU: Avoid uint by int shifts in reinterpret. 2023-01-03 23:00:17 -08:00
Henrik Rydgård cd535263c1 Update version number v1.14.4 2023-01-03 11:14:31 +01:00
Henrik Rydgård 7fbb0c4d41 Another null check in NativeShutdown 2023-01-03 11:14:31 +01:00
Henrik Rydgård f00367da20 Update README.md for 1.14.4 2023-01-03 10:44:19 +01:00
Henrik Rydgård b657bf36ef Eliminate readbacks in the DTM Race Driver series. 2023-01-03 00:29:09 +01:00
Henrik Rydgård 233c37a589 Merge pull request #16710 from unknownbrackets/shader-errors
GLES: Use uint for uint shift amounts
2023-01-03 00:18:03 +01:00
Unknown W. Brackets 0b6635c2dc GLES: Avoid switch-case on older glsl. 2023-01-02 14:57:06 -08:00
Unknown W. Brackets 86d748fa0c GLES: Use uint for uint shift amounts.
This seems to cause trouble for some Adreno drivers as well.
2023-01-02 14:37:38 -08:00
Henrik Rydgård fd7cc76d95 Remove unnecessary savedata version reporting 2023-01-02 23:22:54 +01:00
Unknown W. Brackets 26dc773b2a Merge pull request #16709 from unknownbrackets/shader-errors
Correct some shader errors in reporting
2023-01-02 13:51:23 -08:00
Unknown W. Brackets d3f08925a9 Merge pull request #16708 from hrydgard/additional-fixes
Additional fixes from both our reports and Play reports
2023-01-02 13:49:49 -08:00
Henrik Rydgård ae99b797d7 Remove some bad float suffixes 2023-01-02 22:30:01 +01:00
Unknown W. Brackets c8728a12d0 GLES: Use mod() not fmod() in depal shaders. 2023-01-02 13:25:40 -08:00
Henrik Rydgård 6b95ed2e2e Prevent name clash from redefining packUnorm4x8 if the driver "lies" about having it 2023-01-02 22:24:00 +01:00
Henrik Rydgård a5747d53b3 Fix some report spam 2023-01-02 22:23:50 +01:00
Unknown W. Brackets 5180486ded GLES: Force frag test cache on for Intel.
Seeing drivers report errors trying to shift the alpha value in the test.
Only seeing these errors in fragment shaders, though.
2023-01-02 13:21:47 -08:00
Unknown W. Brackets 2b4a182b46 GLES: Use hex for uint constants.
Apparently some Adreno drivers have issues (fixed in 2014):
https://developer.qualcomm.com/forum/qdn-forums/maximize-hardware/mobile-gaming-graphics-adreno/27945
2023-01-02 13:13:48 -08:00
Henrik Rydgård 0e3cf9862e ComputePathTo: Handle case where from == to. 2023-01-02 22:10:00 +01:00
Henrik Rydgård d8136adbed GPUCommon::FastRunLoop: Try not to crash 2023-01-02 22:01:20 +01:00
Unknown W. Brackets 761fdd353f GPU: Avoid large constant in depal shader. 2023-01-02 12:59:19 -08:00
Unknown W. Brackets 6d9d517700 Reporting: Send game ELF crc with reports.
Getting a lot of spam from homebrew with different IDs that appear to be
the same actual homebrew, in part from ID generation.
2023-01-02 12:23:05 -08:00
Henrik Rydgård b4571648d2 Merge pull request #16706 from unknownbrackets/softgpu-lighting
softgpu: Fix lighting with 0 exp
2023-01-02 21:01:58 +01:00
Unknown W. Brackets f1b5cbf993 softgpu: Fix lighting with 0 exp.
Broken in #15317.  Fixes Kratos scene demo.
2023-01-02 11:42:52 -08:00
Henrik Rydgård 76a4e2cc71 Merge pull request #16705 from unknownbrackets/ffmpeg-up
Build: Update ffmpeg submodule for Android
2023-01-02 20:27:39 +01:00
Unknown W. Brackets d940381043 Build: Update ffmpeg submodule for Android.
Build script update to fix build with latest NDK.
2023-01-02 11:11:57 -08:00
Unknown W. Brackets 78eece8a1e Merge pull request #16703 from hrydgard/misc-stuff
Minor fixes based on the latest Google Play report
2023-01-02 09:07:08 -08:00
Henrik Rydgård 397846c0fc Just add a sanity check in NativeInitGraphics. 2023-01-02 17:38:38 +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 bd6cdeb4ce Remove "toast" message on failure in displayInit, not allowed from that thread. 2023-01-02 16:31:30 +01:00
Unknown W. Brackets a420fc23a5 Merge pull request #16702 from unknownbrackets/readme
README: Fix some linkification
2023-01-02 07:23:39 -08:00
Unknown W. Brackets 10412d561b README: Fix some linkification. 2023-01-02 06:43:51 -08:00
Henrik Rydgård 0f4f9997fd Update version number v1.14.3 2023-01-02 10:19:53 +01:00
Unknown W. Brackets 7c099dc764 Debugger: Allow copy of byte range from memview. 2023-01-01 23:02:12 -08:00
Unknown W. Brackets bba748d627 Debugger: Handle memview select right click better.
Shouldn't reset if you click inside.  Also should basically ignore
modifiers, that's how it normally behaves.
2023-01-01 22:49:04 -08:00
Unknown W. Brackets a7101b128f Debugger: Allow memview select with keyboard. 2023-01-01 22:37:53 -08:00
Unknown W. Brackets f66818ba80 Debugger: Allow selecting a range in memory view. 2023-01-01 22:28:29 -08:00
Unknown W. Brackets f8064c6763 Debugger: Cleanup memview members.
Was fairly inconsistent.  This code has not changed a lot in a long time,
so let's just do a single cleanup pass before some changes.
2023-01-01 21:47:39 -08:00
Henrik Rydgård 392e3b310d Update README.md for 1.14.3 2023-01-01 23:48:15 +01:00
Unknown W. Brackets 8714461f9b Merge pull request #16698 from hrydgard/dialog-fixes
Screen background fixes
2023-01-01 14:15:05 -08:00
Henrik Rydgård 30c591e813 Fix smooth touchpad scrolling on Windows
Forgot that I had half-implemented it but not finished it up..
2023-01-01 22:23:14 +01:00
Henrik Rydgård 474999c462 Minor code cleanup / warning fix 2023-01-01 22:00:53 +01:00
Henrik Rydgård 360de9a372 RemoteISO screens: Make them dialogs so ESC works to exit them on PC.
Also fix the background on the main one, and in savedata manager.

See #16605
2023-01-01 21:55:02 +01:00
Unknown W. Brackets 9f85323b8a Merge pull request #16697 from hrydgard/safer-bone-matrix-fast-load
Check for valid memory range when doing fast bone matrix loads
2023-01-01 12:02:45 -08:00
Henrik Rydgård 700a018ef0 IRInterpreter: Use alignment as access size in exceptions 2023-01-01 20:48:16 +01:00
Henrik Rydgård 91b7bf986e Can do an unchecked GetPointer here 2023-01-01 20:48:03 +01:00
Henrik Rydgård 2951a6494f Check for valid memory range when doing fast bone matrix loads
In reality, this is probably very rarely a real concern but we do get a
measurable amount of crash reports here. Though if that first access
crashes, which it seems to, we'd probably likely crash soon after this
anyway...
2023-01-01 20:45:02 +01:00
Henrik Rydgård ee997d1353 Account for the GPU cycle cost of loading bone matrices.
This could change timing slightly in games that use many of these, like
maybe God of War for example. We should probably get it in for 1.15 and
just handle any fallout.
2023-01-01 20:35:04 +01:00
Henrik Rydgård aa80659530 Memory exception: Add facility to track size
Might theoretically help in tracking some things down.

Not fully utilized yet, the fault handler needs to extract the
information from the faulting instruction. But we can use it for
GetPointerRange etc.
2023-01-01 20:30:29 +01:00
Unknown W. Brackets 728dde8eb3 Cheats: Cleanup sizes of invalidates and checks.
And ensure we're always invalidating full words to be safe.
2023-01-01 10:30:47 -08:00