SkyMaterial: run sky material pass before user render passes


When a View3D uses DisableInternalPasses together with a SkyMaterial and
a user SkyboxPass sub-pass, the sky material cubemap was not available at
the time the user pass ran. skyMaterialTexture is set by the sky material
pass, but the sky material pass was scheduled after userRenderPasses in
the active pass list, so the user SkyboxPass rendered against a null
texture every frame.

Move the sky material pass to run before userRenderPasses so that
skyMaterialTexture is populated when any user-defined SkyboxPass
sub-pass needs it.

Pick-to: 6.12
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Change-Id: Ibe70db0aca7b3306d8f12a1edcb1cbdb6f7521c3
Reviewed-by: Kristoffer Skau <kristoffer.skau@qt.io>
commite40ee1d60524c9cc1eaa46293f6b99ff68ac00e8
parent6522f7852ce4fa943999690f044bdc6fd5b1240f
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeFri, 19 Jun 2026 10:48:36 +0000