RayShader wasn't reusing state when possible