Fixed a bug the the shader hash computation that could lead
to invalid collisions and hence potential reuse of errors shaders
for purposes for which they weren't generated.