Commit Graph

42 Commits

Author SHA1 Message Date
410cea0f12 PostProcessing/FX: Use ToChars instead of to_string()
More locale mess.
2024-07-29 20:38:55 +10:00
3282366ea7 PostProcessing/FX: Preserve option declaration order 2024-07-26 15:34:49 +10:00
6f50e12ea2 PostProcessing/FX: Remove debug shader dump 2024-07-07 12:46:09 +10:00
d178853392 PostProcessing/FX: Fix incorrect draw rect 2024-07-04 00:32:22 +10:00
9ef7e8c5d0 GPU/HW: Use GSVector instead of Rectangle 2024-07-03 15:44:12 +10:00
34d5cdec96 GPU/HW: Expose depth buffer to internal postprocessing 2024-06-29 14:25:36 +10:00
54097fc14e Postprocessing/FX: Expose 'viewportoffset' uniform 2024-06-16 00:00:01 +10:00
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
ef69c31e9f GPUDevice: Support transpiling shaders at compile time
And use it for GLSL postprocessing shaders.
2024-06-14 21:21:34 +10:00
d51b880052 Postprocessing/FX: Fix incorrect pixel size uniforms 2024-06-14 00:38:08 +10:00
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
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
4e922a34a7 Log: Simplify macros 2024-05-24 02:08:14 +10:00
b6d019db66 Misc: Replace log printf calls with fmt 2024-05-24 00:29:49 +10:00
ca3cfbaa99 Misc: Pass string_view by value 2024-05-05 22:28:29 +10:00
5d20f4514d PostProcessing: Use ShaderGen GLSL version string 2024-04-28 15:25:24 +10:00
72ab669e70 GPUDevice: Add support for feedback loops 2024-04-01 13:55:19 +10:00
101ebe3ac3 PostProcessing/FX: Fix GLSL compile error with discard 2024-03-24 22:32:44 +10:00
620d08f72d Build: Move Image from common to util 2024-03-06 16:09:21 +10:00
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
b04578afee ImGuiFullscreen: Fix menu background obscuring text 2023-12-15 13:45:19 +10:00
57aa138808 PostProcessing: Add compile progress indicator 2023-12-14 20:23:48 +10:00
c20805f2be VulkanDevice: Work around some mobile driver issues 2023-12-13 23:01:10 +10:00
ff37afef55 PostProcessing/FX: Support multiple render targets 2023-12-09 22:08:14 +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
10473f1cfb PostProcessing: Add categories/combos/tooltips 2023-12-07 15:19:10 +10:00
ba5d1a109e dep/reshadefx: Support generating GLSL ES 2023-12-07 14:13:56 +10:00
7bbf04ab99 PostProcessing/FX: Support reading shaders from resources 2023-11-25 00:50:12 +10:00
1a79a2f196 dep/reshadefx: Add manual include callbacks 2023-11-25 00:50:11 +10:00
8f1d724f4c Postprocesing/FX: Add BUFFER_COLOR_BIT_DEPTH and random source 2023-11-05 14:10:44 +10:00
4ef465cea4 PostProcessing/FX: Fix loading of resource textures 2023-11-05 13:52:56 +10:00
ca5b07acff PostProcessing: Fix for Metal renderer 2023-11-04 20:28:45 +10:00
b678fcd874 GPUDevice: Move debug messages over to fmt 2023-09-23 14:14:52 +10:00
92440bdfcf Log: Add fmt overloads 2023-09-23 14:14:52 +10:00
76772ec39e PostProcessing/FX: Fix incorrect RCP_BUFFER{WIDTH,HEIGHT} 2023-09-18 22:38:11 +10:00
adc124c759 Misc: Unreachable code warning fixes 2023-09-05 22:10:50 +10:00
80e3d29ab8 Misc: clang-cl warning clean-up 2023-09-03 14:30:26 +10:00
e804b5e701 GPUDevice: Support geometry shaders 2023-09-02 22:09:22 +10:00
358f87a74d PostProcessing/ReShade: Fix up for GL/Vulkan 2023-08-30 02:04:07 +10:00
8a40c7bf94 PostProcessing: Add ReShade .fx shader support 2023-08-30 00:44:01 +10:00