diff options
author | Zephyron <zephyron@citron-emu.org> | 2025-02-01 16:57:49 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2025-02-01 16:57:49 +1000 |
commit | 8f76ef2579e27091b0a87946d6353bbf850cc8f9 (patch) | |
tree | 40b20b5f28978c7c3da359d53bfb54e1b6ec803a /dist | |
parent | 4e8d00f0342cd95d8895179601f2d979b7f73ac8 (diff) |
video_core: Add sRGB to D24S8 depth-stencil conversion support
Implements conversion from sRGB color formats to D24S8 depth-stencil format
in the Vulkan renderer. This change includes:
- New fragment shader convert_abgr8_srgb_to_d24s8.frag that handles proper
sRGB to linear conversion before depth calculation
- Added shader to CMake build system
- Extended BlitImageHelper with new conversion pipeline and methods
- Updated texture cache to handle sRGB to D24S8 format conversion paths
The conversion properly handles sRGB color space by first converting to
linear space before calculating luminance values for the depth component,
while preserving alpha channel data for the stencil component.
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions