Commit Graph

32433 Commits

Author SHA1 Message Date
Henrik Rydgård
2cb9e09ad3 Implement new discovery of a larger CLUT than we thought, plus non-shared CLUTs for 8-bit indices.
Not sure yet what limitations apply, regarding using it for even more
16-bit colors, etc...
2022-07-31 10:43:48 +02:00
Henrik Rydgård
f061eadc04 Initial implementation of 3D texturing through equal-size mips (see #6357)
Vulkan-only currently, though all the other backends except ES 2.0
without GL_OES_texture_3d can support it with some work.
2022-07-31 10:43:47 +02:00
Unknown W. Brackets
94c98ccc10
Merge pull request #15762 from rofl0r/ci_release_fix
CI: also upload release source tarball on tag push
2022-07-30 22:44:07 -07:00
rofl0r
7d6a806d85 CI: make indentation in tarball.yml consistent 2022-07-31 04:41:19 +00:00
Henrik Rydgård
29befd3b27
Merge pull request #15764 from unknownbrackets/gpu-minor
GPU: Small scaling variable cleanup
2022-07-31 06:31:16 +02:00
Henrik Rydgård
0f39dfad09
Merge pull request #15765 from unknownbrackets/reporting-debug
Reporting: Disable when debugger methods used
2022-07-31 06:30:10 +02:00
Unknown W. Brackets
1233d1d376 Reporting: Disable when debugger methods used.
This won't catch all means of hacking memory, but will catch some.
Trying to reduce noise in reporting from debugging.
2022-07-30 18:21:32 -07:00
Unknown W. Brackets
795b1c04a9 GPU: Small scaling variable cleanup. 2022-07-30 18:18:51 -07:00
rofl0r
8626780943 CI: also upload release source tarball on tag push
the mac os build action uses an action that automatically creates
a release from a tag push, which circumvents triggering the regular
release actions.

also switch from the unmaintained actions/upload-release-asset@v1
to the active softprops/action-gh-release@v1 action.

closes #15761
2022-07-30 21:50:42 +00:00
Henrik Rydgård
fc2e3f3db5
Merge pull request #15760 from hrydgard/unify-load-texture-level
Unify the LoadTextureLevel function between three of the backends
2022-07-30 19:45:03 +02:00
Henrik Rydgård
c65b8ae539 Revert debug change 2022-07-30 19:10:19 +02:00
Henrik Rydgård
6a5a232777 Unify the GLES LoadTextureLevel with the D3D ones. 2022-07-30 19:07:21 +02:00
Henrik Rydgård
c6d7423368 Prepare to convert the GLES functions too 2022-07-30 18:37:48 +02:00
Henrik Rydgård
dea979433c Share LoadTextureLevel between the two D3D backends. 2022-07-30 17:00:34 +02:00
Henrik Rydgård
9ed96921e1 Cleanup 2022-07-30 16:51:29 +02:00
Henrik Rydgård
b7940f9402 Part 2 of the above 2022-07-30 16:43:31 +02:00
Henrik Rydgård
61cf3e8ba0 D3D: Part 1 of breaking out the API stuff 2022-07-30 16:38:40 +02:00
Henrik Rydgård
de3a6e7381
Merge pull request #15758 from hrydgard/scaler-expand-32
Simplify CPU upscaling code
2022-07-30 16:16:02 +02:00
Henrik Rydgård
69c4b59edd libretro buildfix 2022-07-30 15:20:36 +02:00
Henrik Rydgård
3496bd52f0 UWP buildfix 2022-07-30 15:18:56 +02:00
Henrik Rydgård
063cd18254 Simplify CPU upscaling code
Use the existing expandTo32bit mode in the texture decoder instead of
the backend-specific switches and stuff.

Just gets rid of a bunch of redundant code and makes further changes
easier.
2022-07-30 15:06:25 +02:00
Henrik Rydgård
3e39f62c3d
Merge pull request #15743 from hrydgard/build-texture-refactor
TextureCache "BuildTexture" refactor and cleanup
2022-07-30 11:21:57 +02:00
Henrik Rydgård
d6e699aa56
Merge pull request #15753 from hrydgard/thin3d-simplify-stencil
Improve and simplify stencil buffer support in thin3d
2022-07-30 11:13:48 +02:00
Henrik Rydgård
3fc7023d82 Vulkan stencil fixes 2022-07-30 10:47:18 +02:00
Henrik Rydgård
a0febce3a9 Make the D3D9 backend handle stencil state in more similar ways to the others. 2022-07-30 10:47:18 +02:00
Henrik Rydgård
08c33f8e54 More thin3d d3d11 fixes 2022-07-30 10:47:18 +02:00
Henrik Rydgård
e43b5e2081 thin3d: Make writeMask and compareMask dynamic in all backends. D3D11 needs emulation. 2022-07-30 10:47:18 +02:00
Henrik Rydgård
4a18629e63 thin3d: Remove dual sided stencil, not supported by all backends anyway 2022-07-30 10:47:18 +02:00
Henrik Rydgård
b9b3310c21 Remove some indentation 2022-07-30 10:45:03 +02:00
Henrik Rydgård
9f1fdc6c02 Use PrepareBuildTexture from the Vulkan backend too 2022-07-30 10:45:03 +02:00
Henrik Rydgård
d0d53091a8 Change from maxLevel to levelsToLoad, for better readability. Cleanup. 2022-07-30 10:45:02 +02:00
Henrik Rydgård
1e9d85cda1 Define texture loading plan semantics better, pre-port some from Vulkan 2022-07-30 10:44:28 +02:00
Henrik Rydgård
eb6d364a2d Vulkan: One step closer to using PrepareBuildTexture 2022-07-30 10:44:28 +02:00
Henrik Rydgård
6220068fb1 Update PrepareBuildTexture 2022-07-30 10:44:28 +02:00
Henrik Rydgård
1513978019 Use PrepareBuildTexture from DX9 backend 2022-07-30 10:44:28 +02:00
Henrik Rydgård
043989ca8a Use PrepareBuildTexture from D3D11 backend 2022-07-30 10:44:27 +02:00
Henrik Rydgård
167b837ed3 Break out the preparation part of BuildTexture from GLES 2022-07-30 10:44:27 +02:00
Henrik Rydgård
c031f3085b Additional cleanup 2022-07-30 10:44:26 +02:00
Henrik Rydgård
ae6763766e Get the GLES BuildTexture slightly closer 2022-07-30 10:44:02 +02:00
Henrik Rydgård
679a861204 Make the BuildTexture of DX9 and D3D11 backends more similar 2022-07-30 10:44:01 +02:00
Henrik Rydgård
da9f03e356 Remove indentation, useless code 2022-07-30 10:42:16 +02:00
Henrik Rydgård
5d03e22550 Remove the DX API access from LoadTextureLevel 2022-07-30 10:38:18 +02:00
Henrik Rydgård
f728faffdc Remove fake-mipmap logic from LoadTextureLevel 2022-07-30 10:38:17 +02:00
Henrik Rydgård
8b398bbbb7 Minor code simplification 2022-07-30 10:32:50 +02:00
Henrik Rydgård
7d4d925a32
Merge pull request #15749 from hrydgard/color-format-cleanup
Color format cleanups
2022-07-30 09:57:13 +02:00
Henrik Rydgård
4165e146e6 Remove unused parameters to some conversion functions 2022-07-30 08:52:24 +02:00
Henrik Rydgård
6f484d0aee Remove unused useBGRA parameter 2022-07-30 08:52:24 +02:00
Henrik Rydgård
c41b780c8c Remove the ReplacedTextureFormat enum 2022-07-30 08:52:24 +02:00
Henrik Rydgård
ef4a6cf873 Remove support for 16-bit replacement texture formats 2022-07-30 08:52:24 +02:00
Henrik Rydgård
512382c4db
Merge pull request #15723 from hrydgard/d3d9-state-cache-cleanup
D3D9 state cache cleanup
2022-07-30 08:51:17 +02:00