33412 Commits

Author SHA1 Message Date
Henrik Rydgård
9c2bfad749 Seems Need for Speed: Shift has exactly the same lens flare, enable the same compat settings. 2022-09-15 00:18:26 +02:00
Lubos
3331fedab7 OpenXR - Better variable/methods naming 2022-09-15 00:03:41 +02:00
Henrik Rydgård
a208afb7b8 OpenGL and D3D11 fixes 2022-09-14 23:35:15 +02:00
Lubos
0c2d47d74d OpenXR - Add code comments 2022-09-14 23:23:28 +02:00
Henrik Rydgård
85bb6786a1 Log improvements 2022-09-14 23:13:46 +02:00
Henrik Rydgård
1f6d27bd55 Ridge Racer fix 2022-09-14 22:46:17 +02:00
Henrik Rydgård
d6d7a15d25 Get depal-from-dynamic-CLUT working 2022-09-14 22:18:35 +02:00
Henrik Rydgård
51c97c7a7f Set texcache entry status flag if CLUT needs to be dynamic 2022-09-14 22:18:35 +02:00
Henrik Rydgård
abd58199ce Add way to bind cached textures to a DrawContext 2022-09-14 22:18:35 +02:00
Henrik Rydgård
f745e94899 Allow binding "native" texture objects to thin3d 2022-09-14 22:18:35 +02:00
Henrik Rydgård
9907957242 Start implementing ApplyTextureDepal 2022-09-14 22:18:35 +02:00
Henrik Rydgård
431f142413 Cleanup in ge_constants.h, add virtual CLUT8 buffer format 2022-09-14 22:18:35 +02:00
Henrik Rydgård
6744fe3da1 OpenGL fix 2022-09-14 22:18:34 +02:00
Henrik Rydgård
7213e9b7c2 Comment 2022-09-14 22:18:34 +02:00
Henrik Rydgård
650ce22359 Force low resolution for effects in Burnout Dominator. Fixes lens flare at high res 2022-09-14 22:18:34 +02:00
Henrik Rydgård
a52e62a187 Enable depth uploads on render-to-clut-buffer. Esoteric but needed for #11100. Compat flag for now. 2022-09-14 22:18:34 +02:00
Henrik Rydgård
d551d0dd8f Enable DownloadCLUT and ShaderBitmask for Burnout Dominator 2022-09-14 22:18:34 +02:00
Henrik Rydgård
8d00df12a4 Detect the CLUT8/8888 situation
Implement CLUT8 depal from 8888 textures. Hard to tell if working
2022-09-14 22:18:34 +02:00
Henrik Rydgård
4803825f83 Buffer copy matching workaround 2022-09-14 22:18:34 +02:00
Lubos
57ef2bb0d5 OpenXR - Ensure the head pose is locked during frame rendering 2022-09-14 20:36:33 +02:00
Unknown W. Brackets
e2768b9e0c
Merge pull request #16025 from hrydgard/tex-decode-flags
Change the parameters to DecodeTextureLevel from multiple bools to a flags enum.
2022-09-14 10:05:58 -07:00
Henrik Rydgård
0ed1f3d461 Switch multiple bools as parameters to DecodeTextureLevel to a flags enum. 2022-09-14 18:40:08 +02:00
Henrik Rydgård
776c650017 Fix regression in Tantalus games. See #15914 2022-09-14 08:58:06 +02:00
Henrik Rydgård
cf2ad5ceaf
Merge pull request #16024 from unknownbrackets/logicop-simulate
GPU: Fix simulating logicop with blend and shader
2022-09-14 08:41:29 +02:00
Unknown W. Brackets
440062530e GE Debugger: Allow fb copies while stepping.
This is now causing crashes and should be allowed.
2022-09-13 19:07:54 -07:00
Unknown W. Brackets
a397c74140 GPU: Fix simulating logicop with blend and shader.
We only need to do it in the shader, if we're doing it in the shader.
2022-09-13 19:07:25 -07:00
Unknown W. Brackets
7b47ba8022
Merge pull request #16023 from hrydgard/framebuffer-clut-prep
Small refactorings around clut and framebuffers
2022-09-13 06:51:58 -07:00
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
Henrik Rydgård
d6fd9a386b Non-buffered rendering crashfix 2022-09-13 00:29:46 +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