Fix texture tracking for the user passes


We need to delay when the textures are released to avoid releasing
textures while they're still active when rendering. This is solved by
deferring the release of the textures.

Pick-to: 6.11
Change-Id: I9a7da4df53e6bcf71e2beeb73e67f0c87306e9f9
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
commita331b8c89980bcc7004f8497113d5fc6051ee531
parent7bce6396873398225a7793255ed7d34be81b7e5e
authorChristian Strømme <christian.stromme@qt.io>
committerChristian Strømme <christian.stromme@qt.io>
commit timeWed, 4 Feb 2026 18:42:11 +0100