shadergen: fix overly-large stack frame size in process()


A QSSGLayerRenderData has sizeof several dozen KiB, so allocate it on
the heap instead of the stack.

Found while trying to compile qtquick3d with
-Wframe-larger-than=20KiB. In a tool, such stack use is probably ok,
but the suppression macros aren't available outside qtbase at this
point, and, for a tool, a single additional heap allocation won't
matter much, esp. considering that we evade -ftrivial-auto-var-init's
memset() this way, too, so fix rather than suppress to avoid the
dependency to recent qtbase.

Amends c671fe22e049fe4570070a7b4fad3de7b8bd3313 (6.0).

Pick-to: 6.12 6.11 6.8
Task-number: QTBUG-149348
Change-Id: I6b19cc2fd6934e98cd06d3e0ed5cb10f5deb9c67
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
commita1f4c1d5f58ef53e6ce335160f4287fc143e24d7
parent6fb5b2f8298c77bf5d24dac5019ba999e253b81f
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeThu, 3 Sep 2026 19:09:16 +0000