aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qtqmlglobal_p.h
diff options
context:
space:
mode:
authorTerry Meacham <terry@meldstudio.co>2022-12-31 15:34:11 -0600
committerTerry Meacham <terry@meldstudio.co>2023-01-12 03:49:10 -0600
commitc333d4108da6d3db06c17142226c28e14e89703f (patch)
tree68ee43816d5240d734c6ffd9a41e6e901d97cc26 /src/qml/qtqmlglobal_p.h
parentebefb583c886dba86aa51012fb377762235f2379 (diff)
Clamp zorder calculation to [0.0, 1.0]
On the Apple M1 chipset with clang 14 and above, the optimizer will replace fmul/fsub with fmsub, which frequently produces near-zero negative values. The viewport z clipping space is [0.0, 1.0], which can result in the top-most layer being clipped. Pick-to: 6.5 6.4 6.2 Fixes: QTBUG-109739 Change-Id: I22b6c49f066444a102d8bbc2237e4aa9e8c89d8c Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/qml/qtqmlglobal_p.h')
0 files changed, 0 insertions, 0 deletions