diff options
Diffstat (limited to 'src/glsl/apps')
-rw-r--r-- | src/glsl/apps/compile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glsl/apps/compile.c b/src/glsl/apps/compile.c index 21c2b7617e9..5073b0da827 100644 --- a/src/glsl/apps/compile.c +++ b/src/glsl/apps/compile.c @@ -37,7 +37,7 @@ static void usage(void) { printf("Usage:\n"); - printf(" compile fragment|vertex <source> <output>\n"); + printf(" compile fragment|vertex|geometry <source> <output>\n"); } int @@ -65,6 +65,8 @@ main(int argc, shader_type = 1; } else if (!strcmp(argv[1], "vertex")) { shader_type = 2; + } else if (!strcmp(argv[1], "geometry")) { + shader_type = 3; } else { usage(); return 1; |