Commit Graph
33136 Commits
Author SHA1 Message Date
Lubos fb875b94de OpenXR - Multipass rendering fixed 2022-09-04 14:01:17 +02:00
Lubos 5be6665df8 Merge branch 'master' into feature_openxr_stereo 2022-09-04 12:37:41 +02:00
Lubos 1df1d79b9e OpenXR - Stereo without multiview added 2022-09-04 12:36:52 +02:00
Henrik RydgårdandGitHub 49d5b64479 Merge pull request #15958 from unknownbrackets/osd-ascii
UI: Only force ASCII messages if they're ASCII
2022-09-04 07:34:26 +02:00
Unknown W. Brackets 7a7158d8d4 UI: Only force ASCII messages if they're ASCII.
Otherwise we could ruin messages that don't fit in the atlas.
2022-09-03 21:16:59 -07:00
Unknown W. BracketsandGitHub b739582960 Merge pull request #15953 from hrydgard/shader-blend-refactor-2
Shader blend refactor part 2
2022-09-03 16:22:58 -07:00
Henrik Rydgård 65c016d154 Fix dialog rendering (PPGe). Fixes #15954
Was caused by 867eb99 , part of #15950 .
2022-09-04 00:42:14 +02:00
Henrik Rydgård 3d2e78fbf4 spaces->tabs 2022-09-04 00:11:22 +02:00
Henrik Rydgård d6b953bddd Fix GLES check 2022-09-04 00:10:56 +02:00
Henrik Rydgård ec173559f8 Additional cleanup 2022-09-04 00:10:55 +02:00
Henrik Rydgård ceda7aef49 Add log functions to state structs 2022-09-04 00:10:55 +02:00
Henrik Rydgård d35749bfc8 Move the computation of simulate-logic shader type earlier 2022-09-04 00:10:55 +02:00
Henrik Rydgård 87b14fe1c2 Some more renaming and refactoring, extracted from a future PR 2022-09-04 00:10:55 +02:00
Henrik Rydgård 8e39018b95 Channel mask refactor 2022-09-04 00:10:54 +02:00
Henrik Rydgård 5f1ffeae70 Correct LogicOp API support detection 2022-09-04 00:08:40 +02:00
Henrik Rydgård d3309dd8e9 Minor refactor with pipelines in QueueRunner (makes more information available for easier debugging) 2022-09-03 23:08:02 +02:00
Henrik Rydgård 6b1e4806cf Don't parallelize shader compiles in debug mode, sync in debug allocator kills performance. 2022-09-03 23:07:39 +02:00
Henrik RydgårdandGitHub 14465cee13 Merge pull request #15951 from unknownbrackets/softgpu-rectfast
Improve rectangle fast path checks in softgpu
2022-09-03 22:58:34 +02:00
Henrik RydgårdandGitHub 6783ecd72a Merge pull request #15952 from unknownbrackets/branch-delayslot
interp: Handle jumps in branch delay slots better
2022-09-03 22:38:22 +02:00
Unknown W. Brackets 0fc3619d1d interp: Handle jumps in branch delay slots better.
This matches tests from a PSP-2000.  Seems to consistently run the
instruction even if likely, which writes rd.

If the likely branch is not taken, the jump in the delay slot is taken.
However, it should cancel the rd write (not implemented here.)
2022-09-03 13:15:21 -07:00
Unknown W. BracketsandGitHub 91ff603fd7 Merge pull request #15950 from unknownbrackets/memstruct-cleanup
Remove Memory::WriteStruct() and ReadStruct()
2022-09-03 11:25:04 -07:00
Unknown W. Brackets 15b73b56bb softgpu: Correct texture check in fastpath.
This is the no textures option, so we shouldn't check sampler state at
all.  Presumably this was failing and reading uninitialized data...
2022-09-03 11:21:14 -07:00
Unknown W. Brackets af004dd53d softgpu: Validate alpha test properly for fastpath.
We don't want a weird LESS test being mishandled.
2022-09-03 11:19:24 -07:00
Unknown W. Brackets ba1ced4992 softgpu: Avoid rect fast path with subpixel offset.
It doesn't handle it right, see #15876.  We still handle these with
DrawRectangle(), which gets it right.
2022-09-03 11:08:11 -07:00
Unknown W. Brackets ccd4e92184 Kernel: Use PSPPointer for status objects.
Code makes more sense when reading ->size rather than offset 0.
2022-09-03 10:44:12 -07:00
Unknown W. Brackets dd0de46ed9 Io: Use PSPPointer instead of struct temps. 2022-09-03 10:44:11 -07:00
Unknown W. Brackets 79c7a91d98 Font: Remove needless ReadStruct(). 2022-09-03 10:44:11 -07:00
Unknown W. Brackets a86b904cf2 Ge: Switch from ReadStruct to PSPPointer. 2022-09-03 10:44:11 -07:00
Unknown W. Brackets 8b41178cb8 Psmf: Use PSPPointer instead of WriteStruct. 2022-09-03 10:44:11 -07:00
Unknown W. Brackets 8f96405ee5 Net: Remove usage of Memory::WriteStruct().
This also validates pointer write size better.
2022-09-03 10:44:11 -07:00
Unknown W. Brackets 3a372aa615 HLE: Remove misc usage of WriteStruct().
Prefer PSPPointer and notifying.
2022-09-03 10:44:11 -07:00
Henrik RydgårdandGitHub b92ea74fb3 Merge pull request #15589 from hrydgard/glsl-compilation-parallelization
Vulkan: Parallelize GLSL compilation
2022-09-03 17:00:01 +02:00
Unknown W. Brackets 867eb99505 PPGe: Cleanup memory writes for clarity.
Switch from WriteStruct to PSPPointer as well.
2022-09-03 07:25:03 -07:00
Henrik Rydgård fb3f417e77 Fix lying comment, log level reduction 2022-09-03 16:15:46 +02:00
Unknown W. BracketsandGitHub 99681ff0f2 Merge pull request #15949 from hrydgard/remove-reset-framebuffer-flag
Remove confusing resetFramebufferRead flag from secondary framebuffer binding
2022-09-03 06:46:36 -07:00
Henrik Rydgård 76bd2395bf Promise: Add SpawnEmpty (couldn't come up with a better name), fix bug with multiple waiters 2022-09-03 15:21:08 +02:00
Henrik Rydgård c06cf8efaa Switch Vulkan pipelines to use promises for synchronization
Slightly more expensive I guess but shouldn't be much of a bottleneck.
2022-09-03 15:21:08 +02:00
Henrik Rydgård 2bb845a0ca VS 2022 warning fix 2022-09-03 15:21:08 +02:00
Henrik Rydgård ebe2d1b30f More buildfixing 2022-09-03 15:21:07 +02:00
Henrik Rydgård 210233ede0 Buildfix 2022-09-03 15:21:07 +02:00
Henrik Rydgård e701037267 Buildfix 2022-09-03 15:21:07 +02:00
Henrik Rydgård 6e605fa2bc Fix silly logic, fixes the shader leak. 2022-09-03 15:21:07 +02:00
Henrik Rydgård 8775837c11 Work towards finding the leak 2022-09-03 15:21:07 +02:00
Henrik Rydgård 93422f6dea Don't block on shader creation until it's time to create the pipeline. 2022-09-03 15:21:07 +02:00
Henrik Rydgård e2c740827a Use shader module promises as keys in pipeline cache instead of the actual shader modules.
Prevents early block.
2022-09-03 15:21:07 +02:00
Henrik Rydgård fc418ee16f Create shader modules (and compile GLSL) on worker threads 2022-09-03 15:21:07 +02:00
Henrik Rydgård 010c3b4f4b minor sv translation fix 2022-09-03 15:21:07 +02:00
Henrik Rydgård ec0586ba50 Use promises to hold shader modules, for later asyncification 2022-09-03 15:21:07 +02:00
Henrik Rydgård c846c2dfa8 Remove confusing resetFramebufferRead flag from secondary framebuffer binding 2022-09-03 14:48:07 +02:00
Henrik RydgårdandGitHub cd0fff2df8 Merge pull request #15948 from hrydgard/remove-setting-slow-framebuf-effects
Remove setting: Slow framebuf effects
2022-09-03 13:27:35 +02:00