Fix depth prepass alpha discard epsilon


The cleanup in 88d40f9946f909b7b1c2b5d4bab8994f9cadefc8 accidentally
reverted the epsilon guard introduced by
668f601b537ec9d34a134508c2fdb4577dac736e (QTBUG-140392), changing the
discard threshold from (1.0 - 1e-6) back to 1.0. Interpolated varyings
can arrive slightly below 1.0 due to rasterizer precision, causing
opaque fragments to be incorrectly discarded in the OpaquePrePassDepthDraw
path.

Fixes: QTBUG-140392
Pick-to: 6.12 6.11
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Change-Id: I0578c554ed3b1d0df705e0f44bd0aa5b5e1dcb23
Reviewed-by: Kristoffer Skau <kristoffer.skau@qt.io>
commitadaed3766af927bd8a1d26181c8115abf300c7cc
parentf36cb544c498ce1113895360251671b10bb5417f
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeThu, 2 Jul 2026 07:45:44 +0000