RHI: Fix content not updated when using OnDemand and switching textures


When changing a Parameter whose value is a texture, it takes Qt3D potentially
two frames to process the scene fully before it is able to draw the updated
content.

This patch makes it so that if we know we have the flags ParametersDirty for
frame N, we request to reprocess the scene once more on frame N+1.

Change-Id: I9df868ce2aac857bad1a1cb1074038b9c5bcd907
Pick-to: 6.2
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
commit9bdabc8c1412ae58080f700f42f2393c6357788a
parent672da697b147f039effbfd352b20f3f1891f31c6
authorPaul Lemire <paul.lemire@kdab.com>
committerPaul Lemire <paul.lemire@kdab.com>
commit timeWed, 24 Nov 2021 07:26:42 +0100