eden/src
lizzie b66adfe04c
[vulkan] add native cubic filtering (#88)
Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/88

This implements the use of VK_FILTER_CUBIC_EXT as a replacement for the software-based bicubic window adapting filter, used primarily for texture sampling in upscaled or downscaled surfaces such as UI, transparency effects, and screen-space elements in Unreal Engine 4 titles.

The Vulkan cubic filter is now conditionally enabled if the following are satisfied:

The device supports VK_EXT_filter_cubic

The format used supports VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT

This change improves visual quality while reducing GPU workload by offloading cubic filtering to the driver instead of running custom sampling code in shaders. On supported hardware (e.g. desktop GPUs or high-end Adreno/AMD devices), it results in smoother transitions, improved transparency sampling, and better fidelity with lower shader complexity.

Fallback to the original software bicubic logic remains in place for devices lacking the extension or format capability.

Tested on several UE4 titles and confirmed to preserve or enhance visual output, especially in alpha-blended and UI-heavy scenes.
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
2025-07-22 20:49:00 +02:00
..
android updating translations 2025-07-20 19:17:04 +03:00
audio_core [desktop, core] yuzu -> Eden, eden -> Eden 2025-07-19 00:12:21 -04:00
common [desktop, core] yuzu -> Eden, eden -> Eden 2025-07-19 00:12:21 -04:00
core [nvnflinger] add GetBufferHistory from sudachi (#82) 2025-07-21 07:16:26 +02:00
dedicated_room [desktop, core] yuzu -> Eden, eden -> Eden 2025-07-19 00:12:21 -04:00
frontend_common [android] Fix key install and revert to old icon_bg 2025-07-13 01:17:32 -04:00
hid_core fix uninit values in applet and mouse (#114) 2025-05-19 19:11:06 +00:00
input_common [desktop, core] yuzu -> Eden, eden -> Eden 2025-07-19 00:12:21 -04:00
network [frontend, web] refactor: web service frontend rewrite (#221) 2025-07-01 01:44:12 +00:00
shader_recompiler revert [android] Snapdragon 865 patches (#23) 2025-07-12 20:10:40 +02:00
tests feature/landscape-carousel (#196) 2025-06-26 20:52:54 +00:00
video_core [vulkan] add native cubic filtering (#88) 2025-07-22 20:49:00 +02:00
web_service Update fmt to allow for v11 2025-04-10 01:11:22 +02:00
yuzu [discord] Update RPC ID 2025-07-22 14:42:33 -04:00
yuzu_cmd [desktop, core] yuzu -> Eden, eden -> Eden 2025-07-19 00:12:21 -04:00
yuzu_room_standalone Fix License headers & CI (#168) 2025-06-09 01:40:21 +00:00
.clang-format chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
CMakeLists.txt remove solo executables (#106) 2025-05-19 21:30:10 +00:00