Commit graph

33530 commits

Author SHA1 Message Date
ANR2ME
e9cb37993f Fix assertion issue when playing Cars over public adhoc server. 2022-09-23 20:12:16 +07:00
Henrik Rydgård
d79828270a Add Burnout Dominator to list of games that require buffered rendering
It does run without but looks really bad, don't want reports of this.
2022-09-23 09:13:34 +02:00
Henrik Rydgård
bb6919ebcb
Merge pull request #16087 from unknownbrackets/depth-upload
GPU: Upload depth only on first usage
2022-09-23 09:07:33 +02:00
Unknown W. Brackets
93c909a88e GPU: Upload depth only on first usage.
Fixes various glitches in Kingdom Hearts, etc.
2022-09-23 00:04:14 -07:00
Henrik Rydgård
8ffe4921a8
Merge pull request #16086 from unknownbrackets/softgpu-selfrender
softgpu: Fix self-render detect in Ridge Racer
2022-09-23 08:42:21 +02:00
Unknown W. Brackets
66b6dfd0a5 softgpu: Fix self-render detect in Ridge Racer.
When we flush we mark all pending writes zero, but we rely on this being
set to detect self-render.

TRANSFORM_ALL was wrong as well, sometimes clearing BINNER_RANGE.
2022-09-22 20:36:15 -07:00
Henrik Rydgård
c02ce03267
Merge pull request #16082 from hrydgard/remove-clut-compat-option
Remove the UploadDepthForCLUTTexture compat flag
2022-09-22 23:26:12 +02:00
Henrik Rydgård
3db0613114
Merge pull request #16084 from hrydgard/ignore-stride-with-texheight-1
Fix Ridge Racer lens flares - ignore stride if texHeight == 1, when matching tex/fb
2022-09-22 23:02:32 +02:00
Henrik Rydgård
a6d6e0a3cc Texture/Framebuffer match: Ignore stride if texHeight == 1. Fixes Ridge Racer lens flares. 2022-09-22 22:11:16 +02:00
Henrik Rydgård
0ab5d4be7f Use Unknown's idea from #16081 instead of the UploadDepthForCLUTTexture compat.ini flag. 2022-09-22 20:00:35 +02:00
Henrik Rydgård
c76d7e844c Fix Vulkan regression of #16075 due to silly typo. 2022-09-22 19:37:46 +02:00
Henrik Rydgård
078fa9beb2 Fix corruption of Ridge Racer speedometers with AutoMaxQuality enabled.
See #8509
2022-09-22 15:27:17 +02:00
Henrik Rydgård
c3cbb68452
Merge pull request #16072 from hrydgard/depth-free-renderpass
Vulkan: Don't have renderpasses store/load depth buffers when we don't use them
2022-09-22 11:05:25 +02:00
Henrik Rydgård
c108db0e71
Merge pull request #16081 from hrydgard/zbuffer-upload-heuristic
Fix green flashes with Burnout Dominator lens flare
2022-09-22 11:02:27 +02:00
Henrik Rydgård
a31c5c8239 Cleanup logic 2022-09-22 10:48:45 +02:00
Henrik Rydgård
11b807828f Fix for render pass merge 2022-09-22 10:22:29 +02:00
Henrik Rydgård
6d2f29e7eb If depth or stencil are cleared in a renderpass, set the pipeline flag. 2022-09-22 10:06:05 +02:00
Henrik Rydgård
8e30a7ccfc Vulkan: Don't have renderpasses store/load depth buffers when we don't use them 2022-09-22 10:06:05 +02:00
Henrik Rydgård
e9bcefb052
Merge pull request #16080 from unknownbrackets/softgpu-spline
softgpu: Avoid unnecessary flushing for curves
2022-09-22 10:05:23 +02:00
Henrik Rydgård
bd196f7a50 Preserve depth buffer on framebuffer resize, if has been used. 2022-09-22 09:59:49 +02:00
Henrik Rydgård
188ab67d6a More lenient heuristic for uploading depth buffers. Still behind compat flag. See #11100 2022-09-22 09:29:33 +02:00
Unknown W. Brackets
9cf35f0937
Merge pull request #16079 from hrydgard/dirty-state-cleanup
Minor cleanups around dirtying of render state
2022-09-22 00:29:18 -07:00
Henrik Rydgård
287e025978 Minor cleanups around dirtying of render state 2022-09-22 09:12:58 +02:00
Unknown W. Brackets
fc39f042ae softgpu: Avoid unnecessary flushing for curves.
We don't need to flush all drawing between curves in softgpu, let them
queue up.
2022-09-22 00:08:38 -07:00
Henrik Rydgård
594139885e
Merge pull request #16077 from unknownbrackets/hwtess
GPU: Use hardware tess params for texgen
2022-09-22 08:58:30 +02:00
Henrik Rydgård
158bca7d8e
Merge pull request #16078 from unknownbrackets/gles-hwtess
GLES: Avoid resizing tessellation data textures
2022-09-22 08:57:43 +02:00
Unknown W. Brackets
a8eced4773 GLES: Avoid resizing tessellation data textures.
Just recreate when it needs to be larger.  Fixes Test Drive Unlimited
issues noted in #16069.
2022-09-21 23:30:00 -07:00
Unknown W. Brackets
1e78f3aa57 GPU: Correct neg normal for hwtess texgen. 2022-09-21 22:06:32 -07:00
Unknown W. Brackets
0e6c90bc28 GE Debugger: Default auto flush enabled.
It seems like it's usually what one would want, you can disable for
debugging state issues.
2022-09-21 21:16:56 -07:00
Unknown W. Brackets
a681d149db GPU: Use hardware tess params for texgen.
Fixes field in Test Drive Unlimited with hardware tessellation.
2022-09-21 21:15:58 -07:00
Unknown W. Brackets
337518415e
Merge pull request #16076 from hrydgard/clut-gpu-scale-fix
Don't try to replace or scale CLUT8-on-GPU textures.
2022-09-21 18:22:39 -07:00
Henrik Rydgård
a92aaf9311 Dirty more state after depal 2022-09-21 23:57:19 +02:00
Henrik Rydgård
8ed1694a2f Don't try to replace or scale CLUT8-on-GPU textures.
See #8509
2022-09-21 23:50:03 +02:00
Henrik Rydgård
c8c6b945bc
Merge pull request #16073 from hrydgard/rectangular-clut-copy
CLUTs can be loaded from small rectangular textures. Need to linearize.
2022-09-21 23:34:34 +02:00
Henrik Rydgård
4eeeae8a70
Merge pull request #16074 from lvonasek/hotfix_openxr_stereo
OpenXR - Stereo for most games fixed
2022-09-21 18:54:34 +02:00
Henrik Rydgård
78ab013914 Shouldn't 'floor' there 2022-09-21 18:37:40 +02:00
Henrik Rydgård
94ae0fabfa CLUTs can be loaded from small rectangular textures. Need to linearize.
Fixes #8406, although technically, we should wrap by bufw, not the
texture width.
2022-09-21 18:33:15 +02:00
Lubos
bbc5a7cf4b OpenXR - Stereo mirroring fixed, disable stereo when no world scale defined 2022-09-21 16:44:31 +02:00
Henrik Rydgård
1971fc49de
Merge pull request #16070 from unknownbrackets/tls-minor
Kernel: Match index lookup behavior for tls
2022-09-21 11:53:36 +02:00
Henrik Rydgård
3ff400e40e
Merge pull request #16069 from unknownbrackets/depth-clamp
GPU: Simplify depth clamped clip planes
2022-09-21 10:01:49 +02:00
Henrik Rydgård
95ea0450fc
Merge pull request #16066 from unknownbrackets/softgpu-fastrect
softgpu: Narrow blend check for fast path further
2022-09-21 10:01:04 +02:00
Henrik Rydgård
61593dd896
Merge pull request #16071 from unknownbrackets/vulkan-headless
Vulkan: Avoid crash in headless on finish
2022-09-21 09:27:39 +02:00
Henrik Rydgård
7f0405b777
Merge pull request #16067 from unknownbrackets/lines
GPU: Account for w properly in lines, fixing width
2022-09-21 09:13:39 +02:00
Unknown W. Brackets
30454f8dc7 Vulkan: Avoid crash in headless on finish. 2022-09-21 00:09:34 -07:00
Unknown W. Brackets
79c5c93d35 Kernel: Match index lookup behavior for tls.
It might be the uids it returns always follow this format.
This makes the test almost pass, outside psplink using more memory (test
should be adjusted to compensate.)
2022-09-20 19:25:32 -07:00
Unknown W. Brackets
f8d29fdc1a GPU: Simplify depth clamped clip planes.
There's no need to think about the scaled Z if we're using w anyway, just
use the existing Z clipping.
2022-09-20 16:23:19 -07:00
Henrik Rydgård
a223e2a572
Merge pull request #16068 from unknownbrackets/depth-clamp
GPU: Clip clamped depth accounting for perspective
2022-09-21 01:15:12 +02:00
Unknown W. Brackets
2fc7f72d72 GPU: Clip clamped depth accounting for perspective. 2022-09-20 15:55:39 -07:00
Unknown W. Brackets
0a24004eac GPU: Account for w properly in lines, fixing width.
See #15756.
2022-09-20 15:12:16 -07:00
Unknown W. Brackets
cefef3b4f9 softgpu: Narrow blend check for fast path further.
See #15756, frame was largely black because of a full screen blend
rectangle intended to brighten the screen slighty (I assume.)
2022-09-20 14:29:33 -07:00