Henrik Rydgård
b4d0ac2e1c
Unify CLUT texture size at 512 to reduce complexity. Worth the extra bytes.
2022-09-13 11:56:56 +02:00
Henrik Rydgård
39890f7d6f
Extract function GetReinterpretPipeline
2022-09-13 11:46:47 +02:00
Henrik Rydgård
dab38f7261
Merge pull request #16022 from unknownbrackets/savedata-size
...
Savedata: Return errors more correctly on load
2022-09-13 09:47:21 +02:00
Henrik Rydgård
f18b0277f4
Merge pull request #16021 from unknownbrackets/softgpu-compact
...
Reduce the size of state and vertex data in softgpu
2022-09-13 09:45:00 +02:00
Unknown W. Brackets
ce80900b75
Savedata: Return errors more correctly on load.
...
If the buffer isn't large enough, return an error. See #14687 , thanks
sum2012 and gid15.
For many error cases, ensure SFO data and bind are not updated on failure,
and that dataSize is forced to zero on data errors.
2022-09-13 00:10:27 -07:00
Unknown W. Brackets
8371091734
softgpu: Force correct alignment on 32-bit.
2022-09-12 22:15:02 -07:00
Unknown W. Brackets
56e30495aa
Common: Fix some type compare warnings on 32-bit.
2022-09-12 22:14:48 -07:00
Unknown W. Brackets
1be5f1670c
softgpu: Remove mostly unused screen offset state.
...
This is now already cleaned up from coords, so no need to cache it.
2022-09-12 22:02:10 -07:00
Unknown W. Brackets
167213c746
softgpu: Cache texture bufws at 16 bit.
...
Reducing the size of state a bit.
2022-09-12 21:57:00 -07:00
Unknown W. Brackets
b2e6a086dc
softgpu: Reduce size of VertexData texture coords.
...
There's no real benefit to this with only two values.
Not much of a gain perf wise, but still good to transfer less data.
2022-09-12 21:10:46 -07:00
Unknown W. Brackets
a0515bf5ca
Merge pull request #16016 from lvonasek/feature_openxr_stereo
...
OpenXR stereo improved
2022-09-12 17:48:39 -07:00
Lubos
fea2ace548
OpenXR - Initial work on Vulkan support
2022-09-13 01:39:44 +02:00
Henrik Rydgård
d6fd9a386b
Non-buffered rendering crashfix
2022-09-13 00:29:46 +02:00
Lubos
b695c1ffb3
Merge branch 'master' into compat_openxr_gta
2022-09-12 23:04:31 +02:00
Lubos
9ede9bd822
OpenXR - Refactor variable name
2022-09-12 23:01:44 +02:00
Lubos
c6ff56d4a3
OpenXR - Crash when using 3D stereo fixed
2022-09-12 22:55:53 +02:00
Lubos
4b93dc031c
OpenXR - Requested header change in compatvr.ini
2022-09-12 21:28:08 +02:00
Henrik Rydgård
125b76e9d5
Merge pull request #16013 from hrydgard/some-render-debug-utils
...
Some render debug utils, fix shader blending when off
2022-09-12 19:24:16 +02:00
Lubos
e49ee5c93b
Merge branch 'master' into feature_openxr_stereo
2022-09-12 18:49:22 +02:00
Lubos
bdde5f0f7f
OpenXR - Use per game stereo separation file
2022-09-12 18:47:13 +02:00
Henrik Rydgård
b86648b352
Address feedback
2022-09-12 16:30:08 +02:00
Henrik Rydgård
4ad345d78d
Better shader compile logging
2022-09-12 15:39:29 +02:00
Henrik Rydgård
d9989ffc16
Don't start blending in the shader just because there's bitmasks, if blend is disabled.
2022-09-12 15:39:29 +02:00
Henrik Rydgård
a2eaad5445
Debug-name shader modules with their shader desc strings
2022-09-12 15:39:29 +02:00
Henrik Rydgård
2791ab3226
Merge pull request #16011 from unknownbrackets/softgpu-rect
...
Detect more triangles as rectangles in softgpu
2022-09-12 08:35:13 +02:00
Henrik Rydgård
9292fd84e2
Merge pull request #16009 from unknownbrackets/softgpu-colors
...
softgpu: Store vertex colors as packed RGBA8
2022-09-12 08:34:03 +02:00
Unknown W. Brackets
3c9372fb75
softgpu: Ignore stencil test mask in ALWAYS mode.
...
Small codegen improvement since we can directly use ref and avoid loading
the unmasked reference.
2022-09-11 22:39:56 -07:00
Unknown W. Brackets
1f6870798b
softgpu: Include early Z in func description.
2022-09-11 22:39:32 -07:00
Unknown W. Brackets
151727ee01
softgpu: Detect longer strips of rectangles.
...
Could maybe even combine these into one large rectangle, but the main
benefit is avoiding triangles.
2022-09-11 22:39:32 -07:00
Unknown W. Brackets
288d18447d
softgpu: Detect full triangles as rectangles.
...
Seen in a dump from Infected, improves FPS ~25% there.
2022-09-11 22:39:32 -07:00
Unknown W. Brackets
ce4fee7373
softgpu: Refactor triangle cull processing.
2022-09-11 22:39:32 -07:00
Unknown W. Brackets
8a6e8066bf
softgpu: Store vertex colors as packed RGBA8.
...
No need to keep it expanded at 4x the space for both colors.
2022-09-11 18:41:06 -07:00
Unknown W. Brackets
8a2115be46
softgpu: Enable early Z tests a bit more often.
...
This helps in cases where sfail doesn't matter.
2022-09-11 18:39:39 -07:00
Unknown W. Brackets
5f2e20d8ca
softgpu: Reduce some minor bin item field sizes.
2022-09-11 18:39:14 -07:00
Henrik Rydgård
c37049fa14
Merge pull request #16007 from unknownbrackets/gedebugger
...
GE Debugger: Add fields to register expressions
2022-09-12 00:15:06 +02:00
Henrik Rydgård
37c733c969
Merge pull request #16008 from unknownbrackets/readme
...
README: Move some older releases to history
2022-09-12 00:10:17 +02:00
Unknown W. Brackets
41c6c81ead
README: Move some older releases to history.
2022-09-11 14:38:27 -07:00
Unknown W. Brackets
f02e6b8e39
GE Debugger: Add some constants to expressions.
...
Hard to remember, but at least can be copy/pasted.
Allows for things like "alphatest.func == GREATER".
2022-09-11 13:51:10 -07:00
Henrik Rydgård
a6c9546529
Merge pull request #16006 from LunaMoo/compatRewrite
...
Add Rewrite to DrawSyncEatCycles hack, softlocks without it
2022-09-11 22:22:52 +02:00
Unknown W. Brackets
7d07e4e75d
GE Debugger: Add fields to register expressions.
...
This means a conditional breakpoint can now use, for example,
vtype.through == 1 to check the through mode flag.
No constants, but this makes it easier to get right. Would be nice to
have an autocomplete of the field names, of course...
2022-09-11 13:09:03 -07:00
LunaMoo
d25602f01b
Add Rewrite to DrawSyncEatCycles hack, softlocks without it
2022-09-11 21:47:07 +02:00
Unknown W. Brackets
55c70332a1
GE Debugger: Eval breakpoints as if register set.
2022-09-11 11:05:30 -07:00
Unknown W. Brackets
aa377662dd
GE Debugger: Provide addrs in breakpoint conds.
...
Easier to just refer to the full address.
2022-09-11 10:57:04 -07:00
Henrik Rydgård
75efcd9dfd
Merge pull request #16000 from unknownbrackets/gedebugger
...
Cleanup some crashes in GE debugger or with large textures
2022-09-11 19:41:11 +02:00
Henrik Rydgård
b3ba77152f
Merge pull request #16004 from hrydgard/shader-depal-d3d11
...
Implement shader depal for D3D11, texture match refactorings
2022-09-11 19:34:11 +02:00
Henrik Rydgård
cf959a8467
Remove CLUT matching case that shouldn't be there yet.
2022-09-11 19:33:31 +02:00
Henrik Rydgård
46500c8b6a
Merge pull request #16005 from unknownbrackets/softgpu-fog
...
softgpu: Correct accuracy of fog calculation
2022-09-11 18:20:50 +02:00
Unknown W. Brackets
8c55e18ea8
softgpu: Switch vert continue buffer to members.
...
Better this than static. May be easier to handle imm prims correctly.
2022-09-11 08:54:34 -07:00
Unknown W. Brackets
e72309745e
softjit: Implement accurate fog color blending.
2022-09-11 08:50:07 -07:00
Unknown W. Brackets
b90fc7137f
softgpu: Correct accuracy of fog calculation.
...
This matches values from a PSP exactly, with the help of immediate mode
vertex values (since this directly allows specifying the fog factor
without any floating point math.)
2022-09-11 08:24:40 -07:00