Fill this code in to fix Spire shaders bug.