]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/syntax.cpp
Support compute shaders in the shader compiler
[libs/gl.git] / source / glsl / syntax.cpp
index 38a7f003be8b239f360df2a143cf214ed50a43b8..b805a95aa47213af6942c9e377caa4a41ad70e0f 100644 (file)
@@ -332,7 +332,7 @@ Stage::Stage(Stage::Type t):
 
 const char *Stage::get_stage_name(Type type)
 {
-       static const char *const names[] = { "shared", "vertex", "geometry", "fragment" };
+       static const char *const names[] = { "shared", "vertex", "geometry", "fragment", "compute" };
        return names[type];
 }