Fix SubRenderPass OverrideMaterial applying wrong material properties


updateUniformsForDefaultMaterial always passed subsetRenderable.material
to setRhiMaterialProperties, so when using materialMode:
RenderPass.OverrideMaterial inside a SubRenderPass the uniform buffer
was populated with the original material's color/properties instead of
the override material's.

Fixed by adding an optional materialOverride parameter to
updateUniformsForDefaultMaterial and passing overrideMaterial at the
call site in rhiPrepareOverrideMaterialUserPass.

A Lancelot baseline test is added: a blue cube and red sphere rendered
through a SubRenderPass with a flat green override material; the
expected output is green.

Pick-to: 6.11
Change-Id: I7a91dcaa76b1db8854b69be659c508cd22261f83
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
commit2983ba981274a06d23754ef11484d25d64cf6f01
parent019ea91b71e8d709c32f0fa38b23e9242156e9ef
authorAndy Nichols <andy.nichols@qt.io>
committerAndy Nichols <andy.nichols@qt.io>
commit timeTue, 31 Mar 2026 14:24:15 +0100