summaryrefslogtreecommitdiff
path: root/src/citron/configuration/configure_touch_from_button.cpp
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-02-03 17:17:22 +1000
committerZephyron <zephyron@citron-emu.org>2025-02-03 17:17:22 +1000
commit94c4ef8946ab880ab0b30e0ce2a5d4513f9d8da8 (patch)
treec53ac680f23cb8a2c51b170dffac2aa2d17075a9 /src/citron/configuration/configure_touch_from_button.cpp
parent14065ae7cb139a7b2639ace7701038c36d9abd6b (diff)
video_core/vulkan: Improve texture format conversion handling
Refactors and improves the texture format conversion system in the Vulkan renderer: - Adds proper sRGB to linear conversion for depth formats - Improves shader accuracy for ABGR8 SRGB to D24S8 conversion - Adds gamma correction and proper depth range clamping - Moves GetSupportedFormat implementation to header - Cleans up format conversion switch statement - Removes redundant format conversion paths The changes improve accuracy when converting between color and depth formats, particularly for sRGB sources. The shader improvements ensure proper gamma correction and depth range handling. Technical changes: - Improves sRGB to linear conversion in fragment shader - Adds proper depth value clamping - Consolidates format conversion logic - Removes duplicate GetSupportedFormat implementation
Diffstat (limited to 'src/citron/configuration/configure_touch_from_button.cpp')
0 files changed, 0 insertions, 0 deletions