Henrik Rydgård
2af7a047d2
HLE logging; Use function metadata to decide the type for logging the return type.
2025-01-29 10:14:54 +01:00
Henrik Rydgård
2371fdfedd
Rework depth raster to fully support software transform
2024-12-21 21:22:22 +01:00
Henrik Rydgård
a344d0225f
DepthRaster: Fix bug where we used the wrong vertex count.
2024-12-21 14:28:00 +01:00
Henrik Rydgård
bdb5f3a91b
Reorganize the depth vertex pipeline for future optimizations
2024-12-21 14:27:59 +01:00
Henrik Rydgård
df6ed8cfc9
Do some cleanup of #includes in GPU
2024-12-18 13:57:26 +01:00
Henrik Rydgård
abb2558535
When overriding skinning in sw transform mode, don't write/restore member variables
2024-12-17 18:52:49 +01:00
Henrik Rydgård
20ecbfdf57
Pass the VertexDecoder pointer around
2024-12-17 18:24:26 +01:00
Henrik Rydgård
e74101a2fb
applySkinInDecode belongs in the VertexTypeID, not in the options.
2024-12-17 18:24:18 +01:00
Henrik Rydgård
111d0c872d
Global rename of FBChannel to Aspect, also make it a class enum
2024-12-15 22:24:05 +01:00
Henrik Rydgård
54d18bb343
Lift some more debugging functionality into GPUCommon
2024-12-15 14:03:05 +01:00
Henrik Rydgård
190af89d9f
Plumb in a GPUCommon pointer in the draw engines. (Hopefully can get rid of this later)
2024-12-15 13:53:27 +01:00
Henrik Rydgård
b47c9b6dd2
Remove redundant call to SetColorUpdated
2024-12-15 13:44:35 +01:00
Henrik Rydgård
11dbae3457
Remove the "DispatchFlush" mechanism, not convinced it's a win
2024-12-15 13:42:05 +01:00
Henrik Rydgård
9e019ae246
Remove the notion of the GPU debugger being "Active". Now it's automatic.
2024-12-15 11:12:53 +01:00
Henrik Rydgård
01b4eb41be
Merge pull request #19719 from hrydgard/im-ge-draw-preview
...
Build / build-windows (ARM64) (push) Has been cancelled
Build / build-windows (x64) (push) Has been cancelled
Build / build-uwp (push) Has been cancelled
Build / build (./b.sh --headless --unittest --fat --no-png --no-sdl2, clang, clang++, test, macos, macos-latest) (push) Has been cancelled
Build / build (./b.sh --headless --unittest, clang, clang++, test, clang-normal, ubuntu-latest) (push) Has been cancelled
Build / build (./b.sh --headless --unittest, gcc, g++, gcc-normal, ubuntu-latest) (push) Has been cancelled
Build / build (./b.sh --ios, clang, clang++, ios, ios, macos-latest) (push) Has been cancelled
Build / build (./b.sh --libretro_android ppsspp_libretro, clang, clang++, android, android-libretro, ubuntu-latest) (push) Has been cancelled
Build / build (./b.sh --qt, gcc, g++, qt, qt, ubuntu-latest) (push) Has been cancelled
Build / build (cd android && ./ab.sh -j2 APP_ABI=arm64-v8a OPENXR=1, clang, clang++, android, android-vr, ubuntu-latest) (push) Has been cancelled
Build / build (cd android && ./ab.sh -j2 APP_ABI=arm64-v8a UNITTEST=1 HEADLESS=1, clang, clang++, android, android-arm64, ubuntu-latest) (push) Has been cancelled
Build / build (cd android && ./ab.sh -j2 APP_ABI=armeabi-v7a UNITTEST=1 HEADLESS=1, clang, clang++, android, android-arm32, ubuntu-latest) (push) Has been cancelled
Build / build (cd android && ./ab.sh -j2 APP_ABI=x86_64 UNITTEST=1 HEADLESS=1, clang, clang++, android, android-x86_64, ubuntu-latest) (push) Has been cancelled
Build / build (make -C libretro -f Makefile -j2, clang, clang++, libretro, clang-libretro, ubuntu-latest) (push) Has been cancelled
Build / build (make -C libretro -f Makefile -j2, gcc, g++, libretro, gcc-libretro, ubuntu-latest) (push) Has been cancelled
Build / build_test_headless_alpine (push) Has been cancelled
Generate Docker Layer / build (push) Has been cancelled
Build / test-windows (push) Has been cancelled
Build / test (macos-latest) (push) Has been cancelled
Build / test (ubuntu-latest) (push) Has been cancelled
ImGeDebugger framebuffer preview, plus many small changes
2024-12-11 13:04:18 +01:00
Henrik Rydgård
27122a9e64
Work on previews
2024-12-10 22:09:51 +01:00
Henrik Rydgård
ec19c47b89
Add special texture hashing mode solving the Tag Force problem.
...
Don't want to build some complicated rule-based thing until we have more
use cases, so this is quite specialized.
See #19714
2024-12-10 19:24:20 +01:00
Henrik Rydgård
b3d08977d5
Delete unused code
2024-12-08 11:25:00 +01:00
Henrik Rydgård
0df2a40487
Remove the "GPUInterface" base class. Not really useful, GPUCommon is pretty much the same thing.
2024-12-02 11:12:14 +01:00
Henrik Rydgård
e4adc112ff
ImDebugger: Add a basic texture browser
2024-11-29 19:30:38 +01:00
Henrik Rydgård
0e6fc8e0e3
Assorted warning fixes
2024-11-28 15:02:26 +01:00
Henrik Rydgård
4016539c85
Pre-release shader cache version bump for safety
2024-10-29 13:19:58 +01:00
Henrik Rydgård
10db7de53c
Prevent bound depal and framebuffer texture views from lingering between frames
...
Should help #19557
2024-10-29 08:11:39 +01:00
Henrik Rydgård
1221a6e928
Minor code cleanups
2024-10-28 17:50:34 +01:00
Henrik Rydgård
f54d701a2e
Decentralize the assert for AllocateAlignedMemory failures
2024-10-22 21:49:50 +02:00
Henrik Rydgård
843fe22968
Remove superfluous .c_str()
2024-10-17 22:21:07 +02:00
Henrik Rydgård
858f37b8fc
Add a couple of asserts (to make things error out earlier)
2024-10-17 21:01:58 +02:00
Henrik Rydgård
6797a24199
Texture saving: Try to limp along if memory allocation of buffer memory fails
2024-10-10 16:01:00 +02:00
Henrik Rydgård
dfca3dd87a
Work around annoying assert in debug memory allocator on 32-bit Windows
2024-09-25 23:24:25 +02:00
Herman Semenov
3c66f149d3
[Common/Core/Windows] Removed excess check pointer before delete or free()
2024-09-17 11:34:42 +02:00
Henrik Rydgård
7c817f3ecd
Add helper for Vulkan struct chaining
2024-07-19 09:45:02 +02:00
Henrik Rydgård
096985f51f
Provoking vertex (software transform): Simpler solution
...
Simply rotate each primitive in the index buffer to simulate a different provoking vertex.
Since at this point we have already generated a plain primitive index
buffer, it's easy to manipulate like this.
An even better solution would be to generate rotated index buffers
directly during decode, although that code is super critical and does
not need more complexity..
We could now also enable this for hardware transform but I'm leaving
that for later.
2024-07-17 14:40:52 +02:00
Henrik Rydgård
6b1e57a840
We never draw non-indexed in software transform mode, so get rid of the path.
2024-07-17 14:40:52 +02:00
Henrik Rydgård
665f03ff62
Add provoking vertex to caps, flip the flag around
2024-07-17 14:40:52 +02:00
Henrik Rydgård
f6aa86dfee
Add a comment
2024-07-17 14:40:52 +02:00
Henrik Rydgård
138193a776
Add support for the EXT_provoking_vertex Vulkan extension, allowing us to skip software transform for this case.
2024-07-17 10:41:25 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
3e11e54405
Remove obsolete flag
2024-05-11 10:00:35 +02:00
Henrik Rydgård
a3d0cb1f12
Switch away from TransitionImageLayout2
2024-04-06 17:12:32 +02:00
Herman Semenov
b57dab2812
[GPU] Make static and const methods if possible
2024-04-05 17:04:31 +03:00
Henrik Rydgård
9322b4c6dc
Warning fix, some paranoid zero init
2024-02-12 18:33:38 +01:00
Henrik Rydgård
d479b74ed9
v1.17.1
2024-02-04 14:08:02 +01:00
Henrik Rydgård
c0bc6446dd
Improve assert, cleanup
2024-02-01 16:33:01 +01:00
Henrik Rydgård
c5191cad4c
Disable 16-bit textures on PowerVR.
...
Fixes #18780
2024-01-29 15:48:27 +01:00
Henrik Rydgård
cb79783539
Expand primitives: Check the vertex count too.
...
Still getting a few crashes, let's get rid of the last of them from this,
hopefully.
2024-01-28 22:48:40 +01:00
Henrik Rydgård
493122a2fc
v1.17
2024-01-27 14:48:00 +01:00
Henrik Rydgård
22e91c98db
More asserts
2024-01-24 11:36:25 +01:00
Henrik Rydgård
0d2e5c32ab
More sanity checks
2024-01-24 00:50:32 +01:00
Henrik Rydgård
2e16fd3bcc
Fix fake game ID generation to work with scoped storage
2024-01-23 01:06:56 +01:00
Henrik Rydgård
0bf7a98aff
Replace DrainAndBlockCompileThreads with StopThreads, and same for resuming.
2024-01-22 11:06:50 +01:00