Account for lightmap in buffer manager cache


We need to separate meshes from different lightmap files (if any) in the
cache. We solve this by using a pair of (QSSGRenderPath, QString) or
(QSSGRenderGeometry*, QString) as the key, where QString is the lightmap
file (or an empty string if no lightmapping).

Fixes: QTBUG-140820
Pick-to: 6.11
Change-Id: I46184108b59913c63d2eac189e541d19108b70e8
Reviewed-by: Kristoffer Skau <kristoffer.skau@qt.io>
commitb4145df7a12bb3d7a903c57db49ea6c153ae8f7a
parent3364b262b218db4d295747c61c947f28ca1a19ab
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeThu, 23 Apr 2026 08:26:10 +0000