Commit Graph

57 Commits

Author SHA1 Message Date
4c31218d2b GPUDevice: Add API version field
Also tie shader caches to API version and device LUID. That way we don't
have tons of cache files, and they're regenerated if the GPU/driver
changes.
2024-09-08 23:33:05 +10:00
c42fb7c16e GPUDevice: Support ingesting SPIR-V
Will be transpiled to HLSL -> DXBC for DirectX backends.
2024-09-08 22:11:58 +10:00
ac5a2a153a GPUDevice: Remove BeginPresent() skip parameter
It wasn't used - System does its own present skipping.
2024-09-07 12:53:55 +10:00
4b0c1fdbf2 GPUDevice: Add recovery from lost device 2024-09-07 12:48:44 +10:00
1c1b82ed66 GPUDevice: Purge threaded presentation
Worse frame pacing, and GPU thread (when I finish it) will give
significantly faster performance on mobile anyway.
2024-09-07 12:15:42 +10:00
ab1c85790c CPU: Refactor execution mode switching
Fixes single step breaking in branch delay slots with recompiler.
Simplifies initialization.
Removes multiple sources of truth for fastmem.
2024-09-06 20:00:30 +10:00
7f4e5d55db Misc: Update copyright headers 2024-09-01 22:08:31 +10:00
667d1bf7c8 GPUDevice: Use CompressHelpers
And compress the pipeline cache. Saves a fair bit of disk space.
2024-08-26 21:33:28 +10:00
4f16cb61b4 GPUDevice: Expose swap chain clear colour 2024-08-06 17:35:27 +10:00
5b590d434b D3D11Device: Fix blend state not applying to MRTs 2024-08-03 02:06:20 +10:00
3a83c4265c Misc: Fix a bunch of code analysis warnings
Some of which were even actual errors.
2024-08-02 23:56:07 +10:00
1006fa00da GPUDevice: Add support for Raster Ordered Views 2024-07-23 14:46:06 +10:00
ba6b65401d GPUDevice: Improve pipeline error reporting 2024-07-22 15:43:06 +10:00
3749b812a3 GPUDevice: Add ExecuteAndWaitForGPUIdle() 2024-07-04 21:54:19 +10:00
4b61a3cbf3 Qt: Unrestrict resolution scale up to device limits 2024-07-04 13:25:27 +10:00
9ef7e8c5d0 GPU/HW: Use GSVector instead of Rectangle 2024-07-03 15:44:12 +10:00
6bfd862cb3 GPUDevice: Fix transpiled interface linking with OpenGL 2024-06-23 23:39:56 +10:00
ef69c31e9f GPUDevice: Support transpiling shaders at compile time
And use it for GLSL postprocessing shaders.
2024-06-14 21:21:34 +10:00
0f9a255093 System: Fallback to FIFO on AMD (no mailbox support) 2024-05-24 22:48:26 +10:00
42a5fe0a6e GPU: Further improve vsync handling 2024-05-24 02:33:33 +10:00
6cad97b404 GPUDevice: Make vsync actually tear-free
Apparently users prefer stutter over tearing...
2024-05-23 13:52:26 +10:00
d9cc80c7f9 WindowInfo: Get refresh rate from monitor config
DwmGetCompositionTimingInfo() returns a noisy refresh rate, at least on
Win11 22H2.
2024-05-22 22:16:31 +10:00
03f9708911 GPUDevice: Move SPIR-V compilation to base class 2024-05-13 00:06:56 +10:00
ca3cfbaa99 Misc: Pass string_view by value 2024-05-05 22:28:29 +10:00
7344661801 GPUDevice: Split submission and presentation 2024-04-11 22:53:02 +10:00
509a8a074c GPUDevice: Remove unused file 2024-04-11 21:33:40 +10:00
88270771da System: Combine VRR and Optimal Frame Pacing
GSync/FreeSync display users should:
 - DISABLE VSync.
 - ENABLE Optimal Frame Pacing.
2024-04-11 21:33:40 +10:00
98241cb6ba GPUDevice: Swap out glslang for shaderc 2024-04-05 17:53:24 +10:00
72ab669e70 GPUDevice: Add support for feedback loops 2024-04-01 13:55:19 +10:00
1ab7850ed0 GPU: Rewrite deinterlacing and add adaptive/blend modes 2024-03-16 14:14:15 +10:00
a1d7d214cf GPUDevice: Add support for VRR and relaxed vsync 2024-03-03 14:03:07 +10:00
f936a36c85 GPUDevice: Add GPUDownloadTexture
Which can also be based in host/client memory.
Use it for screenshots and VRAM downloads.
2024-02-29 18:56:50 +10:00
150ab8f4af GPU: Add host/hardware stats 2024-01-22 14:41:19 +10:00
f66866ed73 GPUDevice: Use Error class for initialization errors 2024-01-21 00:18:33 +10:00
6d07d70946 GPUDevice: Fix erratic texture pool recycling 2023-12-27 02:28:12 +10:00
62d2f12236 Settings: Expose exclusive fullscreen control 2023-12-25 23:44:15 +10:00
dc5e4120cd GPUDevice: Improve texture pooling 2023-12-20 22:42:32 +10:00
79c226efff SmallString: fmt -> format, format -> sprintf 2023-12-13 21:06:15 +10:00
39913b2a39 GPUDevice: Fix incorrect positioning with PostFX and GL 2023-12-10 23:26:43 +10:00
a907e1f550 GPUDevice: Pool textures 2023-12-09 22:08:13 +10:00
3b2c70cda5 GPUDevice: Get rid of framebuffer abstraction 2023-12-09 22:08:13 +10:00
b65d2748b4 GPUDevice: Implement MirrorRepeat address mode 2023-12-08 20:12:13 +10:00
2ca503639d GPU/HW: Avoid extra texture copy in Vulkan/GL 2023-12-01 19:08:50 +10:00
e382f2b64a Settings: Add option to disable DSB/fbfetch 2023-11-28 14:38:38 +10:00
ff17444074 GPU/HW: Add framebuffer fetch blending path 2023-11-25 21:22:35 +10:00
ce7f6128e9 OpenGLDevice: Cache intermediate state 2023-10-08 01:47:29 +10:00
eb080834ad OpenGLDevice: Actually check max texture buffer size 2023-10-08 01:10:52 +10:00
9517638bcb GPUDevice: Don't recreate device on SW switch in GLES: 2023-09-23 14:14:52 +10:00
b678fcd874 GPUDevice: Move debug messages over to fmt 2023-09-23 14:14:52 +10:00
605aa3c53a Misc: Swap gsl::span for std::span 2023-09-05 22:10:50 +10:00