Commit Graph

31200 Commits

Author SHA1 Message Date
Unknown W. Brackets
5128480d74 GPU: Implement cull behavior in sw transform. 2021-10-30 21:04:16 -07:00
Unknown W. Brackets
7edfdd2cdd GPU: Rename pos/uv w for clarity. 2021-10-30 21:04:00 -07:00
Unknown W. Brackets
b4715e4d88 GPU: Correct w on immediate prim. 2021-10-30 21:01:07 -07:00
Unknown W. Brackets
b4bc4c5c78 GPU: Remove buggy rectangle culling.
Transformed rectangles are uncommon, but culling them properly is a bit
trickier than this, so remove for now.
2021-10-30 18:26:23 -07:00
Unknown W. Brackets
b5a2afef76 D3D11: Fix fog in software transform. 2021-10-30 18:24:01 -07:00
Unknown W. Brackets
e688bb2cdf GPU: Correct software transform projection.
Now reading the new fog value.
2021-10-30 18:23:58 -07:00
Unknown W. Brackets
4ec75de0e7 GPU: Add fog separately for swtransform verts.
At this point, still being processed wrong, this just changes the
attribute structure.
2021-10-30 18:22:54 -07:00
Unknown W. Brackets
b87451de92 GPU: Restore rotation handling in sw transform. 2021-10-30 18:22:53 -07:00
Unknown W. Brackets
4e5ce403b5 GPU: Process proj matrix in sw transform.
Will need this to properly handle culling and clipping in software
transform.

Temporarily breaks display rotation handling (Vulkan/UWP.)
2021-10-30 18:22:53 -07:00
Unknown W. Brackets
159eab5141 GPU: Set projection matrix per backend.
There's a bit of variance, so this keeps the central code clean.
2021-10-30 18:20:36 -07:00
Unknown W. Brackets
f35c7d04bd GPU: Update viewport params before sw transform. 2021-10-30 18:19:16 -07:00
Unknown W. Brackets
3730460bc5 GPU: Move swtransform flippedY to params. 2021-10-30 18:17:22 -07:00
Henrik Rydgård
a9d7948f76
Merge pull request #15065 from CarterLi/master
Build: allow using system zstd library
2021-10-29 08:56:00 +02:00
李通洲
63966cb7a7 Build: allow using system zstd library 2021-10-29 10:28:56 +08:00
Unknown W. Brackets
030bfb1fb6
GPU: Fix missing newline in shader. 2021-10-26 06:54:03 -07:00
Henrik Rydgård
6099c4f41a
Merge pull request #15058 from hrydgard/cull-distance-fix
Make sure to not leave cull distance uninitialized in other paths
2021-10-26 10:46:08 +02:00
Henrik Rydgård
906a04f1fd Make sure to not leave cull distance uninitialized in other paths, if we do write to it in some path. 2021-10-26 09:56:38 +02:00
Henrik Rydgård
edc4e69c3d
Merge pull request #15025 from unknownbrackets/texreplace-pop
Allow delayed loading of texture replacements
2021-10-25 23:31:30 +02:00
Henrik Rydgård
bd07e188ab
Merge pull request #15057 from unknownbrackets/glbuffer-assert
GLES: Skip assert if no buffer
2021-10-25 15:32:29 +02:00
Unknown W. Brackets
09daace8b8 GLES: Skip assert if no buffer. 2021-10-25 06:27:45 -07:00
Henrik Rydgård
643bfd670b
Merge pull request #15055 from iota97/resize-analog-fix
Fix analog resize
2021-10-24 20:40:05 +02:00
iota97
5adaf87dbe Fix analog resize 2021-10-24 20:33:24 +02:00
Henrik Rydgård
59f3d4b8f5
Merge pull request #15051 from unknownbrackets/debugger
Debugger: Add reason to cpu.stepping event
2021-10-24 11:56:52 +02:00
Unknown W. Brackets
76186d1919 Replacement: Allow starting a texture at budget. 2021-10-23 22:42:57 -07:00
Unknown W. Brackets
fc2efe5dff Debugger: Add reason to cpu.stepping event. 2021-10-23 22:08:15 -07:00
Unknown W. Brackets
abc80f1015 Replacement: Correct budget on later frames. 2021-10-23 22:00:51 -07:00
Unknown W. Brackets
fa0e19471c Replacement: Add ini setting to disable pop-in. 2021-10-23 20:56:19 -07:00
Unknown W. Brackets
4c1b5564d2 Replacement: Tweak some thread safety. 2021-10-23 19:58:23 -07:00
Unknown W. Brackets
2bd13c5d9d Debugger: Track reason for entering stepping. 2021-10-23 16:56:15 -07:00
Henrik Rydgård
067f45d560
Merge pull request #15050 from unknownbrackets/guardband
GPU: Allow range cull on Mali/etc.
2021-10-23 17:46:38 +02:00
Unknown W. Brackets
5557950a4b GPU: Allow range cull on Mali/etc.
Previously had been disabled when cullDistance/clipDistance were
unsupported, but it's still helpful without those.  See #15049.
2021-10-23 08:43:14 -07:00
Unknown W. Brackets
c0054dc6cf Replacement: Ensurely orderly stop on reset.
If the texture is being loaded and we stop or reset, make sure it stops to
avoid any crash or hang.
2021-10-23 08:06:55 -07:00
Unknown W. Brackets
e094f5673a
Core: Fix unused variable warning. 2021-10-22 09:09:06 -07:00
Unknown W. Brackets
7d94f3777e
Merge pull request #15044 from hrydgard/update-ffmpeg-linux-pic
Update ffmpeg submodule with new linux arm64 build compiled with -pic
2021-10-21 20:47:18 -07:00
Unknown W. Brackets
09f0578a64 Replacement: Use a thread to load tex replacements. 2021-10-21 17:05:39 -07:00
Unknown W. Brackets
ee882d1861 Replacement: Avoid rebuild until ready. 2021-10-21 17:05:38 -07:00
Unknown W. Brackets
0721405628 Replacement: Avoid clash with X define. 2021-10-21 17:05:38 -07:00
Unknown W. Brackets
83b7b33cfd Replacement: Centralize lookup logic.
And make sure we don't change our minds about using a replacement during a
draw.
2021-10-21 17:05:38 -07:00
Unknown W. Brackets
045d902525 Replacement: Delay load texture data. 2021-10-21 17:05:38 -07:00
Unknown W. Brackets
36fc2c2628 Replacement: Purge old cached decoded textures.
Not actually decoding into the cache, just setup.
2021-10-21 17:05:38 -07:00
Unknown W. Brackets
2356280a9c Replacement: Add structure for delayed loading. 2021-10-21 17:05:38 -07:00
Henrik Rydgård
e12e237d08 Update ffmpeg submodule with new linux arm64 build compiled with -pic
See https://github.com/hrydgard/ppsspp-ffmpeg/pull/64
2021-10-22 00:50:19 +02:00
Henrik Rydgård
12215a3c60
Merge pull request #15043 from unknownbrackets/guardband
GPU: Enable new guardband culling again
2021-10-22 00:39:10 +02:00
Unknown W. Brackets
d804d35dcb GPU: Enable new guardband culling again. 2021-10-21 15:29:51 -07:00
Henrik Rydgård
5e2c4942e9
Merge pull request #15035 from unknownbrackets/guardband
Compat: Ignore DisableRangeCulling with clip/cull
2021-10-21 23:09:33 +02:00
Unknown W. Brackets
c72d045170 Compat: Ignore DisableRangeCulling with clip/cull.
As long as we support these things and the NAN issue isn't there, we
should be able to safely enable regardless.
2021-10-21 13:23:13 -07:00
Henrik Rydgård
4bd4cde4a2
Merge pull request #15040 from unknownbrackets/path-slashes
Path: Avoid adding a double slash from root
2021-10-21 00:56:16 +02:00
Unknown W. Brackets
d5dac66c7a Path: Avoid adding a double slash from root. 2021-10-20 13:01:16 -07:00
Henrik Rydgård
9271db0916
Merge pull request #15036 from vit9696/patch-2
Adhoc: Drop useless pointer check
2021-10-20 11:11:40 +02:00
Vitaly Cheptsov
5600ac0161
Adhoc: Drop useless pointer check
Fixes compiler warning (-Wpointer-bool-conversion)
2021-10-20 12:08:29 +03:00