Increase performance when drawing scenes that don't have blended materials. This should
save some CPU and GPU cycles as parts (or the whole pipeline) can be skipped.
Mostly it ensures that the hiz isn't tagged dirty and has a chance that it is being reused
by other areas. Shadows and irradiance caches aren't forced to be updated.
Mac Studio M1 Ultra
- space_raceship.blend went from 27 fps to 33 fps (10%-20% improvement).
This is a common scenario to optimize as by default materials are not blended and require
user action to set them up. When using compositing/renderpasses, blended materials aren't
supported and most likely not being used.
Pull Request: https://projects.blender.org/blender/blender/pulls/117269