]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.h
Report incorrect shader stages by name
[libs/gl.git] / source / glsl / syntax.h
index 25b7e4a0450d8d89e940579a87af356a74ee5ac1..ac67a3fb9474dcd202682dd9795f939299750b31 100644 (file)
@@ -380,6 +380,8 @@ struct Stage
        std::vector<const Extension *> required_extensions;
 
        Stage(Type);
+
+       static const char *get_stage_name(Type);
 };
 
 struct Module