This PR fixes an issue that shaders compilation could stall. This could be seen in the viewport (sometime not showing first EEVEE render) but was more prominent when running test cases. Pull Request: https://projects.blender.org/blender/blender/pulls/134020