Fix qssgrenderuserpass_p.h using wrong flag variable


The class uses flags from the base class to dirty and clear the
ShaderDirty flag, which conflicts with the base class's
HasGraphicsResources. It should be using the m_dirtyFlags.

The class has been using the HasGraphicsResources, so calling
clearDirty(DirtyFlag::ShaderDirty) has been clearing that flag.
The scene manager then deleted such a pass directly instead of
queueing it for cleanup on the render thread, so
QSSGBufferManager::releaseUserRenderPass() was never called and
the pass was not unscheduled from the user render pass managers.

Pick-to: 6.12
Change-Id: Icbca0a209d007da9ea1f36117e3f1208e61e0d72
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
commita1a3e7f3322b1fc920afe4c5dc23b9b67dfd678d
parentcc66f1f095125d1b2bfa045b44a6d00b376fd49d
authorAntti Määttä <antti.maatta@qt.io>
committerAntti Määttä <antti.maatta@qt.io>
commit timeFri, 2 Oct 2026 10:18:59 +0000