Lubos
7b089effa0
OpenXR - Use single VR projection matrix
2024-06-03 18:29:06 +02:00
Henrik Rydgård
7a32507ab7
Add a decode counter to vertex decoders in _DEBUG mode
2024-06-02 10:25:05 +02:00
Henrik Rydgård
87ead3f492
Fix bad framebuffer bind in Parappa The Rapper
2024-05-29 12:23:54 +02:00
Henrik Rydgård
6ed8f96e98
Indentation fix
2024-05-11 20:36:51 +02:00
Henrik Rydgård
fb599cd0a6
Only use the optimized decoders if SSE or NEON is available.
2024-05-11 14:18:42 +02:00
Henrik Rydgård
6452ce8ac5
NEON-optimize the GTA vertex decoder too.
2024-05-11 14:13:29 +02:00
Henrik Rydgård
4a66f8978b
Fix the GoW optimized vertex decoder, add NEON optimizations
2024-05-11 13:27:11 +02:00
Henrik Rydgård
bafff7f5db
Temporarily disable the custom GoW vertex decoder, it needs some work.
2024-05-11 11:11:48 +02:00
Henrik Rydgård
3526416173
Add another handwritten vertex decoder
2024-05-11 10:00:39 +02:00
Henrik Rydgård
81f1b3fd95
Make handwritten vertex decoders work with non-compiled vertex decoding
2024-05-11 10:00:35 +02:00
Henrik Rydgård
afca3717ba
Specialized vertex decoder for GTA
2024-05-11 10:00:35 +02:00
Henrik Rydgård
3e11e54405
Remove obsolete flag
2024-05-11 10:00:35 +02:00
Henrik Rydgård
d21fef52ae
Allow taking screenshots in the app menu
2024-05-10 21:10:11 +02:00
Henrik Rydgård
9bef910953
Merge pull request #19122 from hrydgard/more-minor-fixes
...
More minor fixes
2024-05-10 14:35:53 +02:00
Henrik Rydgård
8ce7982d8b
Increase the bad texture size threshold.
...
Fixes #19116
2024-05-10 13:58:03 +02:00
Henrik Rydgård
70ae4a35c1
Fix faulty formula for block transfer size-check.
2024-05-10 13:50:49 +02:00
Henrik Rydgård
71a6372ac5
Merge pull request #19020 from hrydgard/clickable-notifications
...
Clickable notifications
2024-04-12 16:23:52 +02:00
Henrik Rydgård
423e3d3338
Merge pull request #19035 from GermanAizek/fix-always
...
[GPU/HLES] 'fs' its already NULL, removed excess delete and bufferState_ always ATRAC_STATUS_HALFWAY_BUFFER
2024-04-11 14:17:26 +02:00
Herman Semenov
f625f18eba
[GPU/HLES] 'fs' its already NULL, removed excess delete and bufferState_ always ATRAC_STATUS_HALFWAY_BUFFER
2024-04-11 14:52:55 +03:00
Henrik Rydgård
6575ba5487
Make screenshot notifications clickable (on platforms where it's possible)
2024-04-10 13:21:23 +02:00
Henrik Rydgård
22d353ec85
D3D11: Filter out useless compiler warning (about pow(-val, x))
2024-04-09 17:38:58 +02:00
Henrik Rydgård
a3d0cb1f12
Switch away from TransitionImageLayout2
2024-04-06 17:12:32 +02:00
Henrik Rydgård
22fdf6624c
Merge pull request #18986 from GermanAizek/static-const-methods
...
[GPU] Make static and const methods if possible
2024-04-05 16:20:06 +02:00
Herman Semenov
b57dab2812
[GPU] Make static and const methods if possible
2024-04-05 17:04:31 +03:00
Henrik Rydgård
d0afdcd94f
Merge pull request #18984 from GermanAizek/fix-flag-after-9
...
[GPU] Fixed bug in GEExpressionFunctions::getFieldValue with GECmdField::FLAG_AFTER_9
2024-04-04 15:51:44 +02:00
Herman Semenov
365d2d252a
[GPU] Fixed bug in GEExpressionFunctions::getFieldValue with GECmdField::FLAG_AFTER_9
2024-04-03 16:09:34 +03:00
Henrik Rydgård
8960ed4d48
FramebufferManager: Allow "large offset" framebuffers priority over normal matches.
...
Fixes #18976
2024-04-03 00:59:36 +02:00
Herman Semenov
0f94ac9189
Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType()
2024-04-02 14:25:26 +03:00
Henrik Rydgård
c5791764d8
Make the i18n T function use std::string_view
...
Buildfixes, crashfixes
One more
Android buildfix
Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård
9322b4c6dc
Warning fix, some paranoid zero init
2024-02-12 18:33:38 +01:00
Henrik Rydgård
c50399fa71
Fix stray line in NFS Underground Rivals
...
Fixes #18846
2024-02-12 18:03:39 +01:00
Henrik Rydgård
d479b74ed9
v1.17.1
2024-02-04 14:08:02 +01:00
Henrik Rydgård
1fbf685504
Avoid vertically merging the two main framebuffers, even if FramebufferAllowLargeVerticalOffset is on.
2024-02-04 11:26:20 +01:00
Henrik Rydgård
b4eecf3d5c
Mali: Turn off any depth writes if depth test is set to NEVER.
2024-02-02 11:11:31 +01:00
Henrik Rydgård
6ce4933db8
Split the discard-stencil-bug flag into separate flags for Adreno and Mali
2024-02-02 11:11:31 +01:00
Henrik Rydgård
a07a2e445b
Fix event order and some logic. Can now change skip buffer effect while running in background.
2024-02-01 23:26:36 +01:00
Henrik Rydgård
533fa14e27
Add a stat for number of verts decoded. It's quite high but not crazy for UFC 2010...
...
See #18806
2024-02-01 19:19:53 +01:00
Henrik Rydgård
c0bc6446dd
Improve assert, cleanup
2024-02-01 16:33:01 +01:00
Henrik Rydgård
8b99c9f9d9
GE dump playback: Don't flip unless DISPLAY is the last command. This messes up the frame structure.
2024-01-30 11:14:38 +01:00
Henrik Rydgård
ea180e54c9
Fix some "double-binds" of the backbuffer.
...
These are already eliminated by the queuerunner, but better not to
generate them in the first place, for easier sanity checks.
2024-01-30 10:44:18 +01:00
Henrik Rydgård
c5191cad4c
Disable 16-bit textures on PowerVR.
...
Fixes #18780
2024-01-29 15:48:27 +01:00
Henrik Rydgård
0615ba3e54
Some paranoia and a comment
2024-01-29 00:54:18 +01:00
Henrik Rydgård
8b4f80c562
GPUCommonHW: Check range of indexes for indexed draws.
2024-01-28 22:58:20 +01:00
Henrik Rydgård
cb79783539
Expand primitives: Check the vertex count too.
...
Still getting a few crashes, let's get rid of the last of them from this,
hopefully.
2024-01-28 22:48:40 +01:00
Henrik Rydgård
493122a2fc
v1.17
2024-01-27 14:48:00 +01:00
Henrik Rydgård
22e91c98db
More asserts
2024-01-24 11:36:25 +01:00
Henrik Rydgård
0d2e5c32ab
More sanity checks
2024-01-24 00:50:32 +01:00
Henrik Rydgård
51097279c9
Vulkan: Fix race condition when changing MSAA mode with the game running "behind" the menu.
2024-01-23 11:28:45 +01:00
Henrik Rydgård
768520dd0e
Separate out the checks for save vs replace textures more, fixing some issues
2024-01-23 01:07:31 +01:00
Henrik Rydgård
2e16fd3bcc
Fix fake game ID generation to work with scoped storage
2024-01-23 01:06:56 +01:00
Henrik Rydgård
c6c0d0bf42
Android memstick folder moves: Do recursive moves if in the same device. Drastically faster.
2024-01-22 16:26:29 +01:00
Henrik Rydgård
6ae9d42516
Preparations for reworking the memstick folder move functionality
2024-01-22 15:56:07 +01:00
Henrik Rydgård
0bf7a98aff
Replace DrainAndBlockCompileThreads with StopThreads, and same for resuming.
2024-01-22 11:06:50 +01:00
Henrik Rydgård
103d8b1019
Don't apply smart 2d texture filter to video.
2024-01-18 23:38:44 +01:00
Henrik Rydgård
74f5be02a1
GameInfo: Try to reduce the locking a bit.
2024-01-18 22:52:56 +01:00
Henrik Rydgård
d45f95e304
Limit to Windows to fix linker error
2024-01-18 16:08:23 +01:00
Henrik Rydgård
531f145e0b
Fix NEON compilation error on strict compilers. Fixes #18688
2024-01-18 10:38:30 +01:00
Henrik Rydgård
e908034ad3
Revert back to the old way of fitting into 16:9: Crop one line at the top and bottom
...
I seem to have switched to a stretch at some point, which isn't ideal and can be
achieved anyway with the stretch option. A two-line crop (1 at top, 1 at bottom)
is generally the better option.
There's now also a hidden ini setting to turn it off. I might be
convinced to add it as a real setting once I figure out a good name for
it. The setting:
```ini
[Graphics]
DisplayCrop16x9 = True
```
Fixes #18693
2024-01-15 22:04:42 +01:00
Henrik Rydgård
dac4c7adb0
Add checks against overrunning the index buffer space
2024-01-15 10:25:18 +01:00
Henrik Rydgård
db94b0b696
Pass the limit on the number of indices to generate to BuildDrawingParams.
2024-01-15 10:09:04 +01:00
Henrik Rydgård
cf5d76faf5
Continue replacing 'maxIndex' with 'numDecodedVerts'. Not an ideal name but better.
2024-01-14 23:41:05 +01:00
Henrik Rydgård
4360fe786c
Add a setting for smart 2D texture filtering
2024-01-12 11:10:53 +01:00
Henrik Rydgård
8de7a97883
Check small triangle draws in through-mode for pixel mapping too
2024-01-11 14:32:52 +01:00
Henrik Rydgård
09d8bc5c43
Don't override "Linear"-forced texture filtering
2024-01-11 12:56:03 +01:00
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