Henrik Rydgård
59a56d66c7
Add a "reason" argument to sleep_ms().
...
sleep_ms() should generally be avoided when possible. This can be used to try
to track down unnecessary sleeps by adding some logging.
This commit on its own doesn't actually add any logging.
2024-11-21 15:28:51 +01:00
Henrik Rydgård
f5a4669cb4
Remove obsolete ifdef
2024-11-07 10:17:56 +01:00
Henrik Rydgård
472103d460
Back out the 32-bit index buffer support. Not actually needed for ImGui.
2024-11-04 23:14:39 +01:00
Henrik Rydgård
184a3ecf2a
Code fixes. Correct the UWP fix
2024-11-04 23:14:39 +01:00
Henrik Rydgård
17a7c80cb1
Get it rendering on Vulkan and D3D11 (OpenGL is bugged though)
2024-11-04 23:14:39 +01:00
Henrik Rydgård
d37c04079d
Change the 2D matrix generation to query the coordinate convention from the draw context
2024-11-04 23:14:23 +01:00
Henrik Rydgård
8f8598c347
thin3d: Add partial support for 32-bit index buffers. Add DrawIndexedUP.
2024-11-04 23:14:22 +01:00
Henrik Rydgård
7d24fca4e2
Crashfix when switching buffered/non-buffered with the game running
2024-10-25 12:00:28 +02:00
Henrik Rydgård
a545d3074f
Do some renaming, dedupe some strings (old commit resurrected), add an assert
2024-10-22 22:28:06 +02:00
Henrik Rydgård
3a4b27b086
Fix some more presentation issues
2024-10-22 12:29:32 +02:00
Henrik Rydgård
99f7946471
Vulkan GraphicsPipeline: Fix an old and likely very rare race condition.
2024-10-22 11:02:26 +02:00
Henrik Rydgård
a6a189c24d
An old version of android had strict JNI validation of UTF-8 strings enabled. Let's pass it.
2024-10-22 11:02:26 +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
2c283fbb07
Minor cleanups, crashfixes
2024-10-14 23:57:19 +02:00
Henrik Rydgård
e1527233d9
Add the EmuScreen pass assert on OpenGL as well
2024-10-14 14:35:35 +02:00
oltolm
f429a257af
d3d9: fix bug introduced in "use ComPtr for D3D9"
2024-10-13 21:45:40 +02:00
oltolm
3a285bbd2f
d3d9: refactor CompileShaderToByteCodeD3D9
2024-10-13 21:45:39 +02:00
Henrik Rydgård
f1cbf1ba96
Android TextRenderer: Add try {} around loading the Roboto font. Also improve an unrelated assert.
2024-10-10 16:01:00 +02:00
Henrik Rydgård
9c5cda3487
Buildfix
2024-10-10 12:19:53 +02:00
Henrik Rydgård
4d6905672e
Bunch more linting
2024-10-10 11:57:10 +02:00
Henrik Rydgård
e0c12c9547
More lint warning fixes
2024-10-10 10:52:45 +02:00
Henrik Rydgård
21c6594961
Fix a bunch of Android Studio lint warnings
2024-10-10 10:24:40 +02:00
Henrik Rydgård
8d380e260a
Fix a wrong assert
2024-10-03 16:52:34 +02:00
Henrik Rydgård
8c8b34aac4
Vulkan: Separate the instance and device API versions, for extension loading purposes
2024-09-25 18:38:31 +02:00
Henrik Rydgård
b2d9ac54dd
Make InfoField an "enum class", extract function FormatAPIVersion
2024-09-25 16:34:33 +02:00
Henrik Rydgård
de0f50158b
More refactoring
2024-09-25 16:19:29 +02:00
Henrik Rydgård
f4e3252966
Refactor LOAD_INSTANCE_FUNC_CORE
2024-09-25 16:08:37 +02:00
Henrik Rydgård
12ecf25618
Refactor the LOAD_INSTANCE_FUNC macro to load a function
2024-09-25 16:04:36 +02:00
Henrik Rydgård
4f9f0acd32
VulkanLoader: Improve logging
2024-09-25 15:59:24 +02:00
Henrik Rydgård
fb80ad6370
Merge pull request #19413 from oltolm/d3d9_com_ptr
...
use ComPtr for D3D9
2024-09-18 11:33:07 +02:00
Henrik Rydgård
a6dbb4dfdb
Merge pull request #19468 from hrydgard/german-static-const-override
...
Build / build-windows (ARM64) (push) Waiting to run
Build / build-windows (x64) (push) Waiting to run
Build / build-uwp (push) Waiting to run
Build / test-windows (push) Blocked by required conditions
Build / build (./b.sh --headless --unittest --fat --no-png --no-sdl2, clang, clang++, test, macos, macos-latest) (push) Waiting to run
Build / build (./b.sh --ios, clang, clang++, ios, ios, macos-latest) (push) Waiting to run
Build / test (macos-latest) (push) Blocked by required conditions
Build / test (ubuntu-latest) (push) Blocked by required conditions
Build / build (./b.sh --headless --unittest, clang, clang++, test, clang-normal, ubuntu-latest) (push) Failing after 0s
Build / build (./b.sh --headless --unittest, gcc, g++, gcc-normal, ubuntu-latest) (push) Failing after 0s
Build / build (./b.sh --libretro_android ppsspp_libretro, clang, clang++, android, android-libretro, ubuntu-latest) (push) Failing after 0s
Build / build (./b.sh --qt, gcc, g++, qt, qt, ubuntu-latest) (push) Failing after 0s
Build / build (cd android && ./ab.sh -j2 APP_ABI=arm64-v8a OPENXR=1, clang, clang++, android, android-vr, ubuntu-latest) (push) Failing after 0s
Build / build (cd android && ./ab.sh -j2 APP_ABI=arm64-v8a UNITTEST=1 HEADLESS=1, clang, clang++, android, android-arm64, ubuntu-latest) (push) Failing after 0s
Build / build (cd android && ./ab.sh -j2 APP_ABI=armeabi-v7a UNITTEST=1 HEADLESS=1, clang, clang++, android, android-arm32, ubuntu-latest) (push) Failing after 0s
Build / build (cd android && ./ab.sh -j2 APP_ABI=x86_64 UNITTEST=1 HEADLESS=1, clang, clang++, android, android-x86_64, ubuntu-latest) (push) Failing after 0s
Build / build (make -C libretro -f Makefile -j2, clang, clang++, libretro, clang-libretro, ubuntu-latest) (push) Failing after 0s
Build / build (make -C libretro -f Makefile -j2, gcc, g++, libretro, gcc-libretro, ubuntu-latest) (push) Failing after 0s
Build / build_test_headless_alpine (push) Failing after 0s
Generate Docker Layer / build (push) Failing after 0s
Code cleanup: Add some const and static modifiers
2024-09-17 17:35:06 +02:00
Henrik Rydgård
0bb69a0ccf
Merge pull request #19464 from hrydgard/german-align-struct-64
...
Partial application of GermanAizek's PR #19047
2024-09-17 15:29:15 +02:00
Henrik Rydgård
eccd7f3767
More const/static-ification
2024-09-17 15:22:37 +02:00
Henrik Rydgård
2ba4eaf3dd
First part of the const changes etc
2024-09-17 15:13:13 +02:00
Henrik Rydgård
b21efd6728
Revert possibly problematic parts
2024-09-17 14:55:20 +02:00
Henrik Rydgård
9d48e51205
Merge pull request #19467 from hrydgard/german-check-before-delete
...
[Common/Core/Windows] Removed excess check pointer before delete or free
2024-09-17 14:27:41 +02:00
Henrik Rydgård
ed8f0c560a
Merge branch 'master' into fix-core-gpu-always-true
2024-09-17 13:03:26 +02:00
Herman Semenov
3c66f149d3
[Common/Core/Windows] Removed excess check pointer before delete or free()
2024-09-17 11:34:42 +02:00
Herman Semenov
dcb8b4f81b
[GPU/Core/Debugger] Reduced struct sizes using align for x64 platforms, fields carefully moved
...
Then revert changes that aren't worth it
2024-09-16 13:32:48 +02:00
Henrik Rydgård
c631fe355f
Fix the MGS2 Acid renderpass merge optimization
...
Failed to merge the specified renderAreas, leading to AMD skipping
rendering of much of the screen.
Fixes #17680
2024-09-09 18:12:53 +02:00
Henrik Rydgård
1ce416a366
Remove the Vulkan option on Moto G54. See issue #18681
...
See #18681
2024-09-08 17:34:47 +02:00
oltolm
87db979ed7
use ComPtr for D3D9
2024-08-25 12:08:31 +02:00
Henrik Rydgård
144b3a8a98
Vulkan validation error cleanups
2024-07-28 08:08:48 -06:00
Henrik Rydgård
417d346e03
Vulkan validation warning fix
2024-07-19 11:43:35 +02:00
Henrik Rydgård
7c817f3ecd
Add helper for Vulkan struct chaining
2024-07-19 09:45:02 +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
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
2a35a92514
Vulkan: Check the device features *after* the extension checks. Necessary for the next step.
2024-07-17 10:32:47 +02:00
Henrik Rydgård
9f1f75ddab
Refactor: Merge the ChooseDevice function into CreateDevice
2024-07-17 10:31:49 +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