Commit graph

32 commits

Author SHA1 Message Date
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 4e922a34a7
Log: Simplify macros 2024-05-24 02:08:14 +10:00
Stenzek b6d019db66
Misc: Replace log printf calls with fmt 2024-05-24 00:29:49 +10:00
Stenzek ca3cfbaa99
Misc: Pass string_view by value 2024-05-05 22:28:29 +10:00
Stenzek 5d20f4514d
PostProcessing: Use ShaderGen GLSL version string 2024-04-28 15:25:24 +10:00
Stenzek 72ab669e70
GPUDevice: Add support for feedback loops 2024-04-01 13:55:19 +10:00
Stenzek 101ebe3ac3
PostProcessing/FX: Fix GLSL compile error with discard 2024-03-24 22:32:44 +10:00
Stenzek 620d08f72d
Build: Move Image from common to util 2024-03-06 16:09:21 +10:00
Stenzek 73cee9f705
Settings: Add UserResources to EmuFolders
Allowing some resources, such as fonts/sounds to be overridden by the
user.
2024-01-10 22:46:57 +10:00
Stenzek b04578afee
ImGuiFullscreen: Fix menu background obscuring text 2023-12-15 13:45:19 +10:00
Stenzek 57aa138808
PostProcessing: Add compile progress indicator 2023-12-14 20:23:48 +10:00
Stenzek c20805f2be
VulkanDevice: Work around some mobile driver issues 2023-12-13 23:01:10 +10:00
Stenzek ff37afef55
PostProcessing/FX: Support multiple render targets 2023-12-09 22:08:14 +10:00
Stenzek a907e1f550
GPUDevice: Pool textures 2023-12-09 22:08:13 +10:00
Stenzek 3b2c70cda5
GPUDevice: Get rid of framebuffer abstraction 2023-12-09 22:08:13 +10:00
Stenzek b65d2748b4
GPUDevice: Implement MirrorRepeat address mode 2023-12-08 20:12:13 +10:00
Stenzek 10473f1cfb
PostProcessing: Add categories/combos/tooltips 2023-12-07 15:19:10 +10:00
Stenzek ba5d1a109e
dep/reshadefx: Support generating GLSL ES 2023-12-07 14:13:56 +10:00
Stenzek 7bbf04ab99
PostProcessing/FX: Support reading shaders from resources 2023-11-25 00:50:12 +10:00
Stenzek 1a79a2f196
dep/reshadefx: Add manual include callbacks 2023-11-25 00:50:11 +10:00
Stenzek 8f1d724f4c
Postprocesing/FX: Add BUFFER_COLOR_BIT_DEPTH and random source 2023-11-05 14:10:44 +10:00
Stenzek 4ef465cea4
PostProcessing/FX: Fix loading of resource textures 2023-11-05 13:52:56 +10:00
Stenzek ca5b07acff
PostProcessing: Fix for Metal renderer 2023-11-04 20:28:45 +10:00
Stenzek b678fcd874 GPUDevice: Move debug messages over to fmt 2023-09-23 14:14:52 +10:00
Stenzek 92440bdfcf Log: Add fmt overloads 2023-09-23 14:14:52 +10:00
Stenzek 76772ec39e PostProcessing/FX: Fix incorrect RCP_BUFFER{WIDTH,HEIGHT} 2023-09-18 22:38:11 +10:00
Stenzek adc124c759 Misc: Unreachable code warning fixes 2023-09-05 22:10:50 +10:00
Stenzek 80e3d29ab8 Misc: clang-cl warning clean-up 2023-09-03 14:30:26 +10:00
Stenzek e804b5e701 GPUDevice: Support geometry shaders 2023-09-02 22:09:22 +10:00
Stenzek 358f87a74d PostProcessing/ReShade: Fix up for GL/Vulkan 2023-08-30 02:04:07 +10:00
Stenzek 8a40c7bf94 PostProcessing: Add ReShade .fx shader support 2023-08-30 00:44:01 +10:00