Fix inverted PreColor/PostColor render extension stage mapping


The getStageIndex lambda had PreColor mapped to Overlay and PostColor
mapped to Underlay, which is the opposite of what it should be.

With the mapping inverted, PostColor extensions (including
SimpleQuadRenderer) were placed in the Underlay slot, which executes
before user QML render passes. This meant SimpleQuadRenderer always
rendered one frame behind the user passes: it blitted the previous
frame's pass output instead of the current one.

This amends 287c64091041e58b96b74f0662dde24a77dd11f7

Pick-to: 6.12 6.11
Change-Id: I28cbdb4ae8b85efe03ae9c0b573dd254cf6f7356
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
commit2cf4694901abfe196538f6116a33d44369930d18
parentab82d8d42b359be033e919786532110a3940afae
authorChristian Strømme <christian.stromme@qt.io>
committerChristian Strømme <christian.stromme@qt.io>
commit timeTue, 2 Jun 2026 11:57:43 +0000