Commit Graph
45601 Commits
Author SHA1 Message Date
Lubos 4ce0579f70 OpenXR - Split projection matrix for color and depth buffer 2022-09-04 21:12:18 +02:00
Unknown W. Brackets 026040beea Merge pull request #15960 from hrydgard/more-logic-op-work
Enable logic op emulation in-shader
2022-09-04 11:24:59 -07:00
Henrik Rydgård 7882c4cd6d Shader unit test fix 2022-09-04 20:06:59 +02:00
Henrik Rydgård 8800f2046b Preserve alpha in shader logic op emulation. Include logic op in check for packUnorm4x8. 2022-09-04 19:27:26 +02:00
Lubos 93a2817062 Merge branch 'feature_openxr_stereo' into compat_openxr_gta 2022-09-04 16:33:33 +02:00
Lubos 2195f4b2e7 OpenXR - Mismatched call order fixed 2022-09-04 14:08:03 +02:00
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ård 8194bb73a1 Turn on logic ops in shader when shader bitmasking is used. 2022-09-04 11:43:36 +02:00
Henrik Rydgård 2474eb6a72 Shader bit setup and code generation for logic-ops-in-shader 2022-09-04 11:14:47 +02:00
Henrik Rydgård 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. Brackets fc50860f55 headless: Fix startup on latest Android versions.
Otherwise it tries to use deprecated ashmem and chokes.
2022-09-03 21:06:32 -07:00
Unknown W. Brackets f75dadd1d6 arm64jit: Handle branch/jump in branch delay slots. 2022-09-03 21:04:54 -07:00
Unknown W. Brackets bac36df453 x86jit: Refactor and fix jump in branch delay slot.
This seems cleaner, instead of the duplication of lines for each branch
type.
2022-09-03 19:58:46 -07:00
Unknown W. Brackets d08ee44cf4 irjit: Handle branch/jump in branch delay slots.
See #15952 for more detail.
2022-09-03 19:05:31 -07:00
Unknown W. Brackets 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ård 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ård 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. Brackets 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ård 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. Brackets 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