Henrik Rydgård
a2ca85bc87
Add logging for LoadCLUT from framebuffer. See #15923 . Logs nicely in Burnout Dominator.
2022-09-10 19:32:39 +02:00
Henrik Rydgård
e56e5947d5
Vulkan: Declare gl_Position as invariant. See #11583
...
The code that computes shader outputs declared as invariant gets certain
optimizations disabled that could change the value - it makes it more
likely that different ways to do the same calculations end up with the same value.
This can help some types of Z fighting problems and similar.
Generally not a big deal for performance, plus, we're rarely vshader-bottlenecked...
2022-09-10 00:26:23 +02:00
Henrik Rydgård
e7195d5a99
Match FragmentShaderFlags definition with the other PR.
2022-09-08 09:18:29 +02:00
Henrik Rydgård
347f7c4e5a
Vulkan: Improve tagging of pipelines for debugging purposes
2022-09-08 00:47:22 +02:00
Henrik Rydgård
cddc612f6d
Extend lifetime of ShaderModule objects since we might need to recreate pipelines for different render passes
2022-09-08 00:38:32 +02:00
Henrik Rydgård
befcfb470c
Fix shader caching.
2022-09-08 00:38:32 +02:00
Henrik Rydgård
e828df9f25
Split each renderpass/framebuffer into multiple "compatibility classes" (RenderPassType).
2022-09-08 00:32:03 +02:00
Henrik Rydgård
8782061539
Merge pull request #15980 from unknownbrackets/zstd-update
...
Build: Add additional zstd file for libretro
2022-09-07 14:45:43 +02:00
Unknown W. Brackets
7a83f8bab5
softgpu: Use vertType prim override for flags.
...
These parameters are a real shame, was so clean before...
2022-09-06 22:20:45 -07:00
Unknown W. Brackets
b4e1f6d902
GPU: Fix crash on overlap copy w/o cur target.
2022-09-06 18:55:25 -07:00
Unknown W. Brackets
7c8f8817b8
GPU: Fix CanDepalettize() missing false paths.
...
Mismatched texformats didn't have a return.
2022-09-06 18:52:20 -07:00
Henrik Rydgård
ae23c3c266
Merge pull request #15974 from unknownbrackets/debugger-gecond
...
Add breakpoint conditions to GE debugger
2022-09-06 23:39:26 +02:00
Henrik Rydgård
759c9695e5
Merge pull request #15901 from lvonasek/feature_openxr_stereo
...
OpenXR - Stereoscopic rendering
2022-09-06 11:52:32 +02:00
Unknown W. Brackets
f14e49a373
GE Debugger: Add conditions to cmd breakpoints.
2022-09-05 17:33:54 -07:00
Unknown W. Brackets
f595299fe5
GE Debugger: Allow expressions for goto address.
2022-09-05 17:33:54 -07:00
Henrik Rydgård
9a6c1d84c2
Remove impossible check
2022-09-06 00:39:10 +02:00
Henrik Rydgård
e69bb4f616
Buildfix, warn fixes while at it
2022-09-05 23:40:43 +02:00
Henrik Rydgård
16212cae73
NFS speed effect: Improve framebuffer choice logging, tighten up stride checks.
2022-09-05 23:31:30 +02:00
Lubos
3a0e6c7232
Merge branch 'master' into feature_openxr_stereo
2022-09-05 19:11:52 +02:00
Henrik Rydgård
ed8c4e8758
Remove the assembly implementation of 4x4 matrix mul, in favor of intrinsics.
2022-09-05 10:33:05 +02:00
Henrik Rydgård
40f8f21836
Water effect fix #2 : If ForceLowerResolutionForEffects, don't upscale textures participating in small-resolution passes.
2022-09-04 23:43:01 +02:00
Henrik Rydgård
7065a7fa8f
Water effect fix #1 : Force "Lower resolution for effects" on in Outrun and DiRT 2
2022-09-04 23:42:35 +02:00
Henrik Rydgård
3787b43b7a
Fix "Lower resolution for effects" in Ratchet & Clank. Bad option for this game though.
2022-09-04 23:28:55 +02:00
Henrik Rydgård
b15c65540e
Fix the new logic-op-in-shader on OpenGL and D3D11
...
Also disable BlueToAlpha for now for Outrun and DiRT 2, it breaks the
water effect somehow. Will come back to it later.
2022-09-04 22:53:05 +02:00
Lubos
5b47d22afc
OpenXR - Mismatch in stereo and normal uniform fixed
2022-09-04 21:27:48 +02:00
Lubos
81de46c978
OpenXR - Do not include lens projection in nonVR builds
2022-09-04 21:20:35 +02:00
Lubos
4ce0579f70
OpenXR - Split projection matrix for color and depth buffer
2022-09-04 21:12:18 +02: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
5be6665df8
Merge branch 'master' into feature_openxr_stereo
2022-09-04 12:37:41 +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
3d2e78fbf4
spaces->tabs
2022-09-04 00:11:22 +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
c846c2dfa8
Remove confusing resetFramebufferRead flag from secondary framebuffer binding
2022-09-03 14:48:07 +02:00
Henrik Rydgård
8c56abd3dc
Remove setting "Disable slower framebuffer effects"
2022-09-03 11:06:43 +02:00
Henrik Rydgård
68d88726ae
Remove unused function
2022-09-03 11:06:43 +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
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
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
Unknown W. Brackets
470d2f0f4e
vertexjit: Remove unused ReadUV() cases.
2022-09-01 23:33:52 -07:00