mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-11 05:59:32 +01:00
[TEST] Remove sRGB curve convertion
This commit is contained in:
parent
f191d7a0b7
commit
b0ccfb2c2a
1 changed files with 2 additions and 4 deletions
|
|
@ -1406,10 +1406,8 @@ void DecompressBlock(ivec3 coord) {
|
||||||
vec4((C0 * (uvec4(64) - weight_vec) + C1 * weight_vec + uvec4(32)) / 64);
|
vec4((C0 * (uvec4(64) - weight_vec) + C1 * weight_vec + uvec4(32)) / 64);
|
||||||
p = Cf / 65535.0f;
|
p = Cf / 65535.0f;
|
||||||
#ifdef VULKAN
|
#ifdef VULKAN
|
||||||
// Destination is always linear RGBA16F on this path; apply the sRGB curve
|
// if (is_srgb != 0u)
|
||||||
// ourselves since there's no sRGB-tagged format left to do it automatically.
|
if (false) {
|
||||||
// p is (A,R,G,B); alpha (p.x) is never gamma-encoded.
|
|
||||||
if (is_srgb != 0u) {
|
|
||||||
p.yzw = SRGBToLinear(p.yzw);
|
p.yzw = SRGBToLinear(p.yzw);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue