33046 Commits

Author SHA1 Message Date
Henrik Rydgård
68d88726ae Remove unused function 2022-09-03 11:06:43 +02:00
Henrik Rydgård
af54ff7941 langtool: Run fmt, remove wrong comments 2022-09-03 10:53:47 +02:00
Henrik Rydgård
759dc25503 langtool: Add easy command to remove a key. 2022-09-03 10:52:48 +02:00
Henrik Rydgård
dc86970098
Merge pull request #15947 from unknownbrackets/unittest-cleanup
unitest: Correct wrong free, initialize data
2022-09-03 07:03:17 +02:00
Henrik Rydgård
88694bde0c
Merge pull request #15943 from unknownbrackets/softgpu-vertex
vertexjit: Clamp through float pos during decode
2022-09-03 07:02:46 +02:00
Unknown W. Brackets
df624d8651
Merge pull request #15946 from hrydgard/shader-blend-refactor
Shader blend refactor part 1
2022-09-02 20:14:10 -07:00
Unknown W. Brackets
2dbd9d8c70 unitest: Correct wrong free, initialize data.
Prevents valgrind warnings in unittest.
2022-09-02 20:04:25 -07:00
Unknown W. Brackets
e9880d39be vertexjit: Update unit test, oops. 2022-09-02 18:09:47 -07:00
Henrik Rydgård
fd6ab4c495 Avoid recomputing the shaderblend setup in ComputeFragmentShaderID. 2022-09-02 23:06:41 +02:00
Henrik Rydgård
0fe064d970 Small steps 2022-09-02 22:43:58 +02:00
Henrik Rydgård
f81a28f661 Some reordering 2022-09-02 22:40:15 +02:00
Henrik Rydgård
de712b7804 More renaming 2022-09-02 22:20:11 +02:00
Henrik Rydgård
b84cda2876 Plumb the computed pipeline state into ComputeFragmentShaderID. 2022-09-02 22:16:57 +02:00
Henrik Rydgård
c784c0e94b Some renaming. Store the BlendState/MaskState. 2022-09-02 21:07:29 +02:00
Henrik Rydgård
8447ede989
Merge pull request #15942 from unknownbrackets/replacement
Fix reload of replaced textures after decimate
2022-09-02 10:48:54 +02:00
Unknown W. Brackets
470d2f0f4e vertexjit: Remove unused ReadUV() cases. 2022-09-01 23:33:52 -07:00
Unknown W. Brackets
f2d5d668a5 vertexjit: Remove unused ReadPos() cases. 2022-09-01 23:33:52 -07:00
Unknown W. Brackets
9f48ddb18c vertexjit: Clamp through float pos during decode.
Rather than decoding it on read, better to decode it right away.
2022-09-01 23:33:52 -07:00
Unknown W. Brackets
cbeb6c1477 Replacement: Fix reload of replaced textures.
Were showing as ready before they were ready after decimate, causing
flickering.
2022-09-01 19:17:04 -07:00
Unknown W. Brackets
c5fbb400de Replacement: Detect OOM even with replacements.
Also allow saving video textures if so configured.
2022-09-01 19:05:20 -07:00
Unknown W. Brackets
1033fa6cd7 Vulkan: Prevent saving tex during replace load. 2022-09-01 18:52:52 -07:00
Henrik Rydgård
5200208a84 Revert "Merge pull request #15930 from sum2012/kernel-minor"
This reverts commit fd863beb963e1dd5ef299f225104b0117310d4ee, reversing
changes made to 59813fff6dd0995bced9b365e526f33fbda4a05d.
2022-09-01 20:44:00 +02:00
Henrik Rydgård
cae8ce9147
Merge pull request #15939 from hrydgard/texture-dumping-fix
Texture dumping fix
2022-09-01 20:38:50 +02:00
Henrik Rydgård
2bf0c86ac7 Fix image format when dumping textures.
Fixes #15831
2022-09-01 15:04:59 +02:00
Henrik Rydgård
11d4f9acb6 Fix texture saving for Vulkan 2022-09-01 15:04:59 +02:00
Henrik Rydgård
f2e0f7611c Display paths with backslashes on Windows. Show texture path when saving. 2022-09-01 15:04:59 +02:00
Henrik Rydgård
b5e5f780f2
Merge pull request #15938 from hrydgard/misc-optimizations
Misc optimizations
2022-09-01 15:03:48 +02:00
Henrik Rydgård
9097fdaae6 Shrink VkRenderData from 88 to 64 bytes. 2022-09-01 14:21:34 +02:00
Henrik Rydgård
1cd34f9d2b Another buildfix attempt 2022-09-01 14:07:27 +02:00
Henrik Rydgård
7c5d36eca7 libretro buildfix 2022-09-01 13:33:46 +02:00
Henrik Rydgård
ecb84987ef Remove allocation from the heaviest MemBlockInfo path (BlockTransfer). Required some refactoring. 2022-09-01 11:59:35 +02:00
Henrik Rydgård
7bced814ce Remove a per-audio-frame allocation in sceAudio 2022-09-01 11:59:35 +02:00
Henrik Rydgård
c9048c3748 Shrink the DeferredDrawcall struct, because why not. Assorted cleanup 2022-09-01 11:59:33 +02:00
Henrik Rydgård
24d674d2bc Shrink the TransitionRequest struct, use TinySet 2022-09-01 10:59:27 +02:00
Henrik Rydgård
bd71d8044b TinySet bugfix, add "append" 2022-09-01 10:59:24 +02:00
Henrik Rydgård
a854fbbe76 fbtex matching: Shrink the matching struct, use TinySet instead of vector to avoid an allocation. 2022-09-01 10:24:52 +02:00
Henrik Rydgård
608710f9f5
Merge pull request #15936 from hrydgard/framebuffer-cleanups
Framebuffer settings and block transfer speedup
2022-09-01 10:04:31 +02:00
Henrik Rydgård
1c9ec36fd8 Stricter checks for negative framebuffer offsets. Fixes #15937 2022-09-01 08:26:23 +02:00
Henrik Rydgård
470efac7d8 Merge GetFramebufferCandidates and GetBestCandidateIndex into one function. 2022-09-01 00:35:43 +02:00
Henrik Rydgård
a8a9fb4206 Much faster framebuffer matching (no more ToString every time there's more than 1 candidate, etc). 2022-08-31 14:23:56 +02:00
Henrik Rydgård
67d6549afd Rename Slow Framebuf effects to Shader Blending (might remove). Reassign readbacks to BlockTransferGPU. 2022-08-31 14:23:33 +02:00
Henrik Rydgård
437d6d30a0 KillZone: Fix margin detection on the title screen, fixing some glitches. Need more fixes though to fix the shimmer effect.
See #6207 comments
2022-08-31 11:40:42 +02:00
Henrik Rydgård
3168f8d119
Merge pull request #15934 from hrydgard/killzone-split-framebuffer
Split the main framebuffer in Killzone, to avoid texturing-from-current-rendertarget
2022-08-31 09:37:57 +02:00
Henrik Rydgård
0928d9d285 Extract the split code to a function 2022-08-31 09:12:52 +02:00
Henrik Rydgård
d99e4b6714 Quicker way to update the through projection matrix with the split framebuffer offset 2022-08-31 08:44:15 +02:00
Henrik Rydgård
95b299766e Cleanup (more to do, though) 2022-08-31 01:53:13 +02:00
Henrik Rydgård
a71a10bb6e Allow signed texture offsets on framebuffers 2022-08-31 01:46:58 +02:00
Henrik Rydgård
7186fc2c17 Offset the draws properly. Now just some texel clamping left to fix 2022-08-31 01:40:53 +02:00
Henrik Rydgård
70f7f74a05 Check X coordinate of through-mode drawcalls to figure out which of the splits to render to 2022-08-31 01:09:23 +02:00
Henrik Rydgård
1b3b1acefa Tweak ForceMax60Fps to work for Killzone 2022-08-30 20:10:44 +02:00