1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:27:45 +00:00

LibSoftGPU: Mention correct i686 target in Device comment

This commit is contained in:
Jelle Raaijmakers 2022-05-08 02:06:24 +02:00 committed by Linus Groh
parent 2c381ea45c
commit 950ded7ab9

View file

@ -447,7 +447,7 @@ void Device::rasterize_triangle(Triangle const& triangle)
#else #else
// //
// This is an interesting quirk that occurs due to us using the x87 FPU when Serenity is // This is an interesting quirk that occurs due to us using the x87 FPU when Serenity is
// compiled for the i386 target. When we calculate our depth value to be stored in the buffer, // compiled for the i686 target. When we calculate our depth value to be stored in the buffer,
// it is an 80-bit x87 floating point number, however, when stored into the depth buffer, this is // it is an 80-bit x87 floating point number, however, when stored into the depth buffer, this is
// truncated to 32 bits. This 38 bit loss of precision means that when x87 `FCOMP` is eventually // truncated to 32 bits. This 38 bit loss of precision means that when x87 `FCOMP` is eventually
// used here the comparison fails. // used here the comparison fails.