Commit graph

371 commits

Author SHA1 Message Date
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
Stenzek 0675716162
D3D11Device: Fix redundant SRV set on RT change 2024-06-07 12:07:58 +10:00
Stenzek 723af4de3a
Misc: Loading old save state versions is unlikely 2024-05-31 18:48:26 +10:00
Stenzek f1465ddf43
Memmap: Use Mach VM routines for memory mapping 2024-05-29 22:49:32 +10:00
Stenzek 619688a135
Qt: Add per-bind sensitivity/deadzone controls (shift-click) 2024-05-28 18:17:46 +10:00
Stenzek 015804c434
System: Move GDB server into core 2024-05-27 00:18:05 +10:00
Stenzek 4e905a63ec
Util: Add socket helper classes 2024-05-26 22:20:29 +10:00
Stenzek 0240ea8b49
PageFaultHandler: Simplifications 2024-05-25 17:42:12 +10:00
Stenzek 547587af11
D3D11Device: Don't spin on CPU when GPU results aren't available 2024-05-25 16:13:05 +10:00
Stenzek 1565a2667d
Misc: More format string fixes 2024-05-25 15:48:31 +10:00
Stenzek 0f536b8680
VulkanSwapChain: Always allocate cmdbuffers+1 semaphores 2024-05-25 13:32:57 +10:00
Stenzek e6d8f0d4a0
GPUDevice: Use FIFO for D3D exclusive fullscreen 2024-05-25 13:15:40 +10:00
Stenzek a7f2ad37de
InputManager: Fix exit menu button forwarding to game 2024-05-24 22:52:13 +10:00
Stenzek 0f9a255093
System: Fallback to FIFO on AMD (no mailbox support) 2024-05-24 22:48:26 +10:00
Stenzek 98520978a8
System: OSD message corrections 2024-05-24 22:13:35 +10:00
Stenzek 42a5fe0a6e
GPU: Further improve vsync handling 2024-05-24 02:33:33 +10:00
Stenzek 4e922a34a7
Log: Simplify macros 2024-05-24 02:08:14 +10:00
Stenzek 792717e03e
Misc: Get rid of format string for result logging 2024-05-24 00:30:06 +10:00
Stenzek b6d019db66
Misc: Replace log printf calls with fmt 2024-05-24 00:29:49 +10:00
Stenzek 6cad97b404
GPUDevice: Make vsync actually tear-free
Apparently users prefer stutter over tearing...
2024-05-23 13:52:26 +10:00
Stenzek 14ba3b7312
System: Fix sync to host refresh audio stretching 2024-05-22 22:32:51 +10:00
Stenzek 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
Stenzek be0b86cef2
CDImageDevice: Implement disc reading for MacOS 2024-05-20 01:12:33 +10:00
Stenzek c057e91825
CDImage: Open all image types as shared files 2024-05-17 14:42:37 +10:00
Stenzek 35bdbf2a55
System: Check host page size on startup 2024-05-16 17:37:23 +10:00
Stenzek c53717bbe4
System: Rewrite input profile hotkey priority logic 2024-05-16 16:53:13 +10:00
Stenzek 0a38c0889e
AudioStream: Improve >100% volume output quality 2024-05-15 22:11:47 +10:00
Stenzek f0a4ceb909
InputManager: Add push to toggle for macros 2024-05-15 21:17:26 +10:00
Stenzek 7abcdf2b59
VulkanDevice: Fix double unload 2024-05-15 20:31:04 +10:00
Stenzek 8e3284d8c6
Vulkan: Simplify loader using DynamicLibrary 2024-05-15 00:50:25 +10:00
Stenzek b204fd6860
Qt: Fix Mac dylib not being included 2024-05-14 20:08:53 +10:00
Stenzek 18160a8e06
Qt: Add option to pause when controller is disconnected 2024-05-14 16:00:09 +10:00
Stenzek d056584173
Deps: Update shaderc to 2024.1 2024-05-14 16:00:09 +10:00
Stenzek f3aec0c965
Host: Re-introduce plural translation support 2024-05-13 01:46:45 +10:00
Stenzek 03f9708911
GPUDevice: Move SPIR-V compilation to base class 2024-05-13 00:06:56 +10:00
Stenzek 522c2e3458
FullscreenUI: Use native file selector on Flatpak 2024-05-12 20:28:20 +10:00
Stenzek 37a76a020a
FullscreenUI: Add horizontal padding to menu windows 2024-05-12 18:14:51 +10:00
Stenzek 69e0c1681c
FullscreenUI: Correct pixel alignment of some UI elements
Fixes scrollbars showing up at some window sizes.
2024-05-12 17:57:18 +10:00
Stenzek 864b0ad5fe
Qt: Save audio output latency value separately to minimal flag 2024-05-12 17:36:15 +10:00
Stenzek c803c4fbef
Qt: Fix incorrect minimum latency display 2024-05-12 17:09:03 +10:00
Stenzek 7bb8cbcbaa
D3D12Device: Fix pipeline cache load error after device change 2024-05-12 15:24:01 +10:00
Stenzek 72607ecdf6 ShaderGen: Fix compile error with Metal+Barriers 2024-05-09 13:52:18 +10:00
Stenzek fa104acdd1
Misc: Purge unused code and report startup error to host 2024-05-05 22:29:26 +10:00
Stenzek ca3cfbaa99
Misc: Pass string_view by value 2024-05-05 22:28:29 +10:00
Stenzek d6e80de3bf
Qt: Add default option for cubeb driver 2024-05-05 12:51:31 +10:00
Stenzek e3b0050ca1
GPU/HW: Fix shader sampling with MSAA on 2024-05-03 13:24:32 +10:00