rhi: Use render states as part of the GraphicsPipeline key


Instead of the RenderView index as the states for the commands for a given
RV could change over time, we really have to compare the value of the states.

Change-Id: I7b5870ec8fefce09ce31892ebc863bfaaea555d4
Reviewed-by: Mike Krus <mike.krus@kdab.com>
commit918018b717ee597de67dc0a7645db753e5e2b2b6
parent25ac41ad815aada8470e9a6689ac4c86bd3d4a22
authorPaul Lemire <paul.lemire@kdab.com>
committerPaul Lemire <paul.lemire@kdab.com>
commit timeMon, 24 Aug 2020 16:00:19 +0200