lancelot: fix morphSuzanne_custom test
dot(clipWRow, offset) produces values in the hundreds of thousands.
GPU sin/cos implementations perform internal argument reduction for
large float32 inputs, but this reduction is not required to be
IEEE 754 exact, so different GPU drivers return different results
for the same large angle.
Fix by reducing the angle to [0, 2π) with mod() before passing it
to sin/cos. mod() is plain IEEE 754 arithmetic and gives consistent
results across all GPU vendors, while sin/cos of the resulting small
argument is accurate and deterministic everywhere.
Also rename the intermediate variable from 'tmp' to 'clipWRow' to
clarify that it holds the clip-space w row of the MVP matrix.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pick-to: 6.12 6.11 6.8
Change-Id: I0cdca07ec488590606de97b8b8f9f20f158cd72e
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>