Stenzek
4f7ddfaae6
TimingEvents: Remove pointer indirection
...
Probably should move this to one big array for locality.
2024-07-19 22:56:41 +10:00
Stenzek
7217536fdd
MD5Digest: Span-ify
2024-07-19 15:51:25 +10:00
Stenzek
6176a21ff1
ProgressCallback: Eliminate redundancy and drop C format strings
2024-07-19 15:51:25 +10:00
Stenzek
ca2a8f1e1f
Host: Purge C format string error overloads
2024-07-19 13:45:33 +10:00
Stenzek
00ccea84b8
GPUDevice: Replace remaining StdStringFromFromFormat() with fmt
2024-07-19 13:44:09 +10:00
Stenzek
154a5b35b8
CDImageCHD: Refactor mode conversion to string_view
...
Incorrect length found by PVS-Studio.
2024-07-14 21:29:57 +10:00
Stenzek
df979d4648
Build: Fix DiscordRPC not being included in Mac bundle
2024-07-14 21:25:26 +10:00
Stenzek
ff77bd029f
ImGuiFullscreen: Don't upload failed-loaded images
2024-07-14 00:01:06 +10:00
Stenzek
afea18f65e
Image: Fix crash loading corrupted/invalid JPEG files
2024-07-14 00:00:48 +10:00
Stenzek
6f50e12ea2
PostProcessing/FX: Remove debug shader dump
2024-07-07 12:46:09 +10:00
Nik Chizhov
e4470a9929
fix: out-of-border access
2024-07-07 12:45:49 +10:00
Stenzek
1fd8d2701d
Sockets: Add HasAnyClientSockets()
2024-07-06 21:56:30 +10:00
Stenzek
9a70003b70
MSBuild: Silence MSVC warning C4324
2024-07-06 19:45:16 +10:00
Stenzek
3749b812a3
GPUDevice: Add ExecuteAndWaitForGPUIdle()
2024-07-04 21:54:19 +10:00
Stenzek
9fcc98a60a
InputSource: Explicitly construct binding key
2024-07-04 21:40:32 +10:00
Stenzek
f6d3a7987d
System: Load discord-rpc dynamically
2024-07-04 15:52:32 +10:00
Stenzek
00d2d862c2
Build: Use shared discord-rpc
2024-07-04 15:52:32 +10:00
Stenzek
4b61a3cbf3
Qt: Unrestrict resolution scale up to device limits
2024-07-04 13:25:27 +10:00
Stenzek
7927ec647f
Qt: Fix a couple of instances of inconsistent sorting
2024-07-04 13:25:26 +10:00
Stenzek
d178853392
PostProcessing/FX: Fix incorrect draw rect
2024-07-04 00:32:22 +10:00
Stenzek
3c230ba1bf
PlatformMisc: Swap include order for Mac
2024-07-03 16:04:05 +10:00
Stenzek
29533650a8
MetalDevice: Rectangle -> GSVector4i
2024-07-03 15:54:32 +10:00
Stenzek
9ef7e8c5d0
GPU/HW: Use GSVector instead of Rectangle
2024-07-03 15:44:12 +10:00
Stenzek
faa151d5ad
CDImageCHD: Use GSVector
2024-07-03 00:24:12 +10:00
Stenzek
0654b2dc43
AudioStream: Use GSVector
2024-07-03 00:24:12 +10:00
Stenzek
173a61039c
System: Use cpuinfo for cache line size check
2024-07-03 00:24:12 +10:00
Nikolai Chizhov
037519936a
GL/ContextEGL: Fix red_size to blue_size ( #3238 )
2024-07-01 00:28:05 +10:00
Stenzek
9b42ad3859
CPU/CodeCache: Purge JitCodeBuffer
2024-06-30 16:45:51 +10:00
Stenzek
be8fbafd71
CPU/CodeCache: Always dynamically allocate code buffer
...
Reduces .bss size.
2024-06-30 16:45:51 +10:00
Stenzek
34d5cdec96
GPU/HW: Expose depth buffer to internal postprocessing
2024-06-29 14:25:36 +10:00
Stenzek
d8bd35e8d6
GPUDevice: Add D24S8/D32F/D32FS8 types
2024-06-29 13:09:45 +10:00
Stenzek
3f25db79b8
D3D11Device: Make depth targets sampleable
2024-06-29 13:09:45 +10:00
Stenzek
1cb3e6bd49
ShaderGen: Support multiple render target output
2024-06-29 13:09:45 +10:00
Stenzek
0c3cf1f5f8
PostProcessing: Split into internal and display chains
2024-06-28 20:17:15 +10:00
Stenzek
8c72fd57f1
GPUDevice: Disable SPIR-V optimization on GLSL output
...
SSO causes SPIRV-Cross to redeclare builtins, which we don't want
(breaks on Mesa).
2024-06-28 13:52:01 +10:00
Stenzek
ebf50edb79
System: Allocate JIT space before fastmem area
...
On Intel MacOS 14, the fastmem area gets allocated close to the
executable base, leaving no region free +/- 2GB for the JIT area.
2024-06-26 17:11:27 +10:00
Stenzek
6bfd862cb3
GPUDevice: Fix transpiled interface linking with OpenGL
2024-06-23 23:39:56 +10:00
Stenzek
1797050f97
VulkanDevice: Release swap chain images on resize
2024-06-23 16:17:31 +10:00
Stenzek
966cce1581
Postprocessing: Sort shader list lexiographically
2024-06-23 13:20:47 +10:00
Stenzek
ea3fa7fe3d
Postprocessing/FX: Fix locating shaders in subdirectories
2024-06-23 13:20:47 +10:00
Stenzek
70d7d4ab67
MSBuild: Enable Vulkan on Windows ARM64
...
Apparently there are drivers now/in the works.
2024-06-17 17:13:23 +10:00
Stenzek
e9a47233f7
GPUDevice: Compile warning fix
2024-06-16 20:49:30 +10:00
Stenzek
54097fc14e
Postprocessing/FX: Expose 'viewportoffset' uniform
2024-06-16 00:00:01 +10:00
Stenzek
964b94960e
Postprocessing/FX: Ensure RT isn't bound as sampler
...
Prevents possible Vulkan spec violation in some shaders.
2024-06-15 23:55:33 +10:00
Stenzek
ef69c31e9f
GPUDevice: Support transpiling shaders at compile time
...
And use it for GLSL postprocessing shaders.
2024-06-14 21:21:34 +10:00
Stenzek
d51b880052
Postprocessing/FX: Fix incorrect pixel size uniforms
2024-06-14 00:38:08 +10:00
Stenzek
facce0d8cb
PostProcessing: Expose aspect-correct pixel sizes
...
That consider the display aspect ratio/padding when sampling pixels in
the input (window size).
2024-06-11 23:32:19 +10:00
Stenzek
354b250642
PostProcessing: Add native width/height inputs
...
Available in GLSL as GetNativeSize(), GetUpscaleMultiplier(), and in
reshade as native_width/native_height/upscale_multiplier.
GetPaddedOriginalSize() is now deprecated, as it does not make since
since the postfx shader runs with a window-sized off-screen target as an
input, not the internal render texture.
2024-06-11 14:04:45 +10:00
Stenzek
bac2ac0151
FullscreenUI: Fix incorrect padding calculation in pause menu
...
Fixes scrollbars appearing in menu.
2024-06-11 13:12:37 +10:00
Stenzek
f41c238c53
VulkanDevice: Disable VK_KHR_dynamic_rendering_local_read on AMD
...
Like everything else on RDNA3, it appears to be broken and causes GPU
hangs/resets.
2024-06-10 17:44:10 +10:00