aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_vulkan/renderer_vulkan.cpp
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2025-02-03 17:17:22 +1000
committerMrPurple666 <antoniosacramento666usa@gmail.com>2025-04-11 17:05:41 -0300
commit45683a4034849fdf3bc8ca52592ddc2ee4e804c5 (patch)
tree3aaa6fa814bea2d08c2f9a5696a7f80fee744fa4 /src/video_core/renderer_vulkan/renderer_vulkan.cpp
parent3e835ac3aa05767bb8fcd9944d462233e7d20c7a (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/video_core/renderer_vulkan/renderer_vulkan.cpp')
0 files changed, 0 insertions, 0 deletions