A few gallium nine fixes
Here is some fixes that I should have merged long ago.
List of fixes:
- Fix wrong index used in ff ps key computation
- Fix a wrong check on whether there programmable vs is used
- Fix view matrix change not triggering a ff light update
- Fix a possible object destruction race
- Fix Reset behaviour around ending the scene.
Edited by Axel Davy