Fix crash when rendering using direct mode and oit


The renderer reads back node count from the oit counter image in
OITRenderPass implementation and adds it into resource update.
This is then supposed to be added to the end of render pass
resource updates outside the OITRenderPass. This doesn't happen
when using direct mode so the resource updates keep accumulating.

This removes the need to handle the resource update outside the
OITRenderPass and simply adds the resource update in next prepare
phase.

Pick-to: 6.11
Change-Id: I43336471b54fb34dad1b461f77902e274117fcd1
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
commit4de85da102073d45cd026b2ad7adf95fda31d38e
parent8a27e6c7ffc03f1786f59af48a3c67db5b56af10
authorAntti Määttä <antti.maatta@qt.io>
committerAntti Määttä <antti.maatta@qt.io>
commit timeWed, 10 Dec 2025 11:11:11 +0200