From b0ccfb2c2a2230241883ce670f74331b0b94930a Mon Sep 17 00:00:00 2001 From: CamilleLaVey Date: Sun, 5 Jul 2026 07:10:41 -0400 Subject: [PATCH] [TEST] Remove sRGB curve convertion --- src/video_core/host_shaders/astc_decoder.comp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/video_core/host_shaders/astc_decoder.comp b/src/video_core/host_shaders/astc_decoder.comp index ef3b2d09bd..94027e9cb3 100644 --- a/src/video_core/host_shaders/astc_decoder.comp +++ b/src/video_core/host_shaders/astc_decoder.comp @@ -1406,10 +1406,8 @@ void DecompressBlock(ivec3 coord) { vec4((C0 * (uvec4(64) - weight_vec) + C1 * weight_vec + uvec4(32)) / 64); p = Cf / 65535.0f; #ifdef VULKAN - // Destination is always linear RGBA16F on this path; apply the sRGB curve - // ourselves since there's no sRGB-tagged format left to do it automatically. - // p is (A,R,G,B); alpha (p.x) is never gamma-encoded. - if (is_srgb != 0u) { + // if (is_srgb != 0u) + if (false) { p.yzw = SRGBToLinear(p.yzw); } #endif