mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
LibGfx: Fix sse enabled builds by removing implicit float conversion
This commit is contained in:
parent
e4d9fa914e
commit
e6b396c248
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ inline f32x4 linear_to_gamma4(f32x4 x)
|
|||
// Source for approximation: https://mimosa-pudica.net/fast-gamma/
|
||||
constexpr float a = 0.00279491f;
|
||||
constexpr float b = 1.15907984f;
|
||||
float c = (b / sqrt(1 + a)) - 1;
|
||||
float c = (b / sqrtf(1.0f + a)) - 1;
|
||||
return ((b * __builtin_ia32_rsqrtps(x + a)) - c) * x;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue