Re-enable depth writes for the ScreenMap pass


The ScreenMap pass owns a separate depth buffer that the Z-prepass never
fills, so re-enable depth writes (the default state disables them when a
prepass is active), Without it, the opaque objects rendered into the
screen texture no longer occlude each other, producing incorrect
results.

Pick-to: 6.8 6.11 6.12
Change-Id: I32810661b2faf34b0b370590e02fc7ab4d1ba8f5
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
commitee517f118e841fcf17bd9542901c9694b0dc3f49
parentb5a87165f0d7af84d2f19a59a217fd769006761d
authorSadegh Taghavi <sadegh.taghavi@qt.io>
committerSadegh Taghavi <sadegh.taghavi@qt.io>
commit timeTue, 28 Jul 2026 09:48:23 +0000