Commit graph

33217 commits

Author SHA1 Message Date
Henrik Rydgård
14b5a1a7cd Fix pipeline lifetime issue, misc. 2022-09-08 00:38:32 +02:00
Henrik Rydgård
caff2ea573 Correct merging of render passes. However, we have lifetime issues. 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
7ab7440475 Also create renderpass variants on demand 2022-09-08 00:38:32 +02:00
Henrik Rydgård
80ca822bf2 Create framebuffer variants on demand 2022-09-08 00:38:28 +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
ad12aced6c Another attempt at fixing libretro, this time the win build failed 2022-09-07 21:55:22 +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
Henrik Rydgård
17bc1f2f75
Merge pull request #15978 from unknownbrackets/softgpu-immediate
Correct some of immediate vertex handling
2022-09-07 14:30:52 +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
Unknown W. Brackets
35157e8762 Build: Add additional zstd file for libretro. 2022-09-06 18:48:33 -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
c438230204
Merge pull request #15979 from unknownbrackets/d3d-tex16
d3d9: Correct decode of 16-bit textures
2022-09-06 19:48:45 +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ård
759c9695e5
Merge pull request #15901 from lvonasek/feature_openxr_stereo
OpenXR - Stereoscopic rendering
2022-09-06 11:52:32 +02:00
Henrik Rydgård
02c03216bf Add Lubos to credits list 2022-09-06 11:50:01 +02:00
Henrik Rydgård
7055be9d29
Merge pull request #15977 from unknownbrackets/ge-disasm
GE Debugger: Add more missing GE disasm
2022-09-06 07:07:32 +02:00
Henrik Rydgård
3ee16e4360
Merge pull request #15976 from unknownbrackets/ge-matrix-wrap
softgpu: Implement matrix data wrap-around
2022-09-06 07:05:58 +02:00
Henrik Rydgård
d0b4672e2e
Merge pull request #15975 from unknownbrackets/zstd-libretro
Build: Include all zstd files in libretro
2022-09-06 06:57:03 +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
1d5c90d370 Ge: Read matrix num/data back like hardware.
In case any game accidentally relies on this.
2022-09-05 19:37:58 -07:00
Unknown W. Brackets
14d45c2e77 Build: Include all zstd files in libretro.
This was previously commented out, and was intentionally changed in zstd
so you could use a different xxhash.
2022-09-05 17:43:58 -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
c0d5eb360e
Merge pull request #15973 from hrydgard/need-for-speed-fix
NFS speed effect: Improve framebuffer match logging, tighten up stride checks.
2022-09-06 00:55:28 +02: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
Henrik Rydgård
14ef126137 Correct libretro buildfix (hopefully) 2022-09-05 22:17:02 +02:00
Lubos
93202e47f4 OpenXR - Config for stereo separation added 2022-09-05 22:10:20 +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
51fa0f49a5
Merge pull request #15971 from hrydgard/fix-darkstalkers-again
Fix Darkstalkers perf again
2022-09-05 19:23:12 +02:00
Henrik Rydgård
97ad3c21b4 libretro build fix, see #15968 2022-09-05 19:21:04 +02:00
Henrik Rydgård
06e9995ab6 Remove reference to non-existent file from Common.vcxproj 2022-09-05 19:13:14 +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
Lubos
0e4f93d200 OpenXR - Fixing FOV better 2022-09-05 18:15:31 +02:00
Henrik Rydgård
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