X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fglsl%2Fsyntax.cpp;h=b805a95aa47213af6942c9e377caa4a41ad70e0f;hb=30c7ba8f7fd08c13562c86bf651bdc3ec8d30ab5;hp=38a7f003be8b239f360df2a143cf214ed50a43b8;hpb=2b1dc627491c987b0459226dcb8ac6aadd7ee4d3;p=libs%2Fgl.git diff --git a/source/glsl/syntax.cpp b/source/glsl/syntax.cpp index 38a7f003..b805a95a 100644 --- a/source/glsl/syntax.cpp +++ b/source/glsl/syntax.cpp @@ -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]; }