LibSoftGPU: Mention correct i686
target in Device
comment
This commit is contained in:
parent
2c381ea45c
commit
950ded7ab9
Notes:
sideshowbarker
2024-07-17 18:38:54 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/950ded7ab9 Pull-request: https://github.com/SerenityOS/serenity/pull/13970 Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/linusg Reviewed-by: https://github.com/sunverwerth ✅
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ void Device::rasterize_triangle(Triangle const& triangle)
|
|||
#else
|
||||
//
|
||||
// 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
|
||||
// truncated to 32 bits. This 38 bit loss of precision means that when x87 `FCOMP` is eventually
|
||||
// used here the comparison fails.
|
||||
|
|
Loading…
Add table
Reference in a new issue