Commit Graph
9567 Commits
Author SHA1 Message Date
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 14b5a1a7cd Fix pipeline lifetime issue, misc. 2022-09-08 00:38:32 +02:00
Henrik Rydgård 77819c6f80 Lifetime fixes, cleanups 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årdandGitHub 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 402492a958 GE Debugger: Show imm prim flag detail in disasm. 2022-09-06 22:31:09 -07:00
Unknown W. Brackets 880f6f8d49 GPU: Handle more flags on imm prim command. 2022-09-06 22:20:45 -07: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 f274267143 GPU: Allow usage of texturing in immediate verts.
And respect the other flags that I can reproduce working in a test.
I can't seem to get the fog to work at all, or the shading mode, or the
secondary color.  Maybe depends on other flags or bits in other regs...
2022-09-06 22:20:45 -07:00
Unknown W. Brackets ceb2af369c GPU: Handle immediate prims more accurately.
This allows for lines, points, textures, and similar things.  Also
corrects offset handling.  Still some flags on VAP that seemingly don't
work, and this doesn't consider the texture flag on it.
2022-09-06 22:20:45 -07:00
Unknown W. Brackets 531c7e452d GE Debugger: Count imm prims as prims. 2022-09-06 18:55:25 -07:00
Unknown W. Brackets d249674858 softgpu: Fix immediate rendering crash. 2022-09-06 18:55:25 -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årdandGitHub ae23c3c266 Merge pull request #15974 from unknownbrackets/debugger-gecond
Add breakpoint conditions to GE debugger
2022-09-06 23:39:26 +02:00
Unknown W. Brackets 62ed43633c d3d9: Correct decode of 16-bit textures.
Was causing crashes since we assumed this func could handle non-replaced
formats.
2022-09-06 07:44:08 -07:00
Henrik RydgårdandGitHub 759c9695e5 Merge pull request #15901 from lvonasek/feature_openxr_stereo
OpenXR - Stereoscopic rendering
2022-09-06 11:52:32 +02:00
Henrik RydgårdandGitHub 7055be9d29 Merge pull request #15977 from unknownbrackets/ge-disasm
GE Debugger: Add more missing GE disasm
2022-09-06 07:07:32 +02:00
Unknown W. Brackets a59d39d666 GE Debugger: Add more missing GE disasm.
Need to investigate the immediate vert bits more.
2022-09-05 20:35:08 -07:00
Unknown W. Brackets 23f61171f9 softgpu: Implement matrix data wrap-around.
Overflow writes to other matrices.  Matches hardware tests.
2022-09-05 19:38:54 -07:00
Unknown W. Brackets f14e49a373 GE Debugger: Add conditions to cmd breakpoints. 2022-09-05 17:33:54 -07:00
Unknown W. Brackets 0b30b723bb GE Debugger: Add address breakpoint conditions. 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
Unknown W. Brackets 542e7aa555 GE Debugger: Add a table of register metadata.
So far, not used, but indicates info about each GE register.
2022-09-05 12:15:53 -07:00
Lubos 08226d8396 OpenXR - Stereo matrices fixed 2022-09-05 20:49:25 +02:00
Henrik Rydgård a91219bebc The Darkstalkers subpixel check should be == 0. Fixes #14953 again 2022-09-05 19:12:45 +02:00
Lubos 3a0e6c7232 Merge branch 'master' into feature_openxr_stereo 2022-09-05 19:11:52 +02:00
Henrik RydgårdandGitHub 6b6271a53e Merge pull request #15968 from hrydgard/remove-fast-matrix-asm
Remove the assembly implementation of 4x4 matrix mul, in favor of intrinsics.
2022-09-05 18:14:37 +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 f399e3c7e6 Disable BlueToAlpha mode when logic op is present. Re-enable for Outrun and DiRT. 2022-09-05 09:51:17 +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
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 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