diff options
author | Michal Krol <michal@vmware.com> | 2009-09-04 15:16:42 +0200 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2009-09-04 15:16:42 +0200 |
commit | ebd8bb7bfbc269ece78ccc2e3d366aea17b23dc6 (patch) | |
tree | 65c3ddb0920bc2361ad0cab937a0d3db4df33de5 | |
parent | 6758530c70aceaf2312412b1322c0b6b5e8378ab (diff) |
glsl: Handle line tokens in apps/process.
-rw-r--r-- | src/glsl/apps/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/apps/process.c b/src/glsl/apps/process.c index b40ad442bb..ca96d62f78 100644 --- a/src/glsl/apps/process.c +++ b/src/glsl/apps/process.c @@ -344,6 +344,10 @@ main(int argc, fprintf(out, "#extension %s : disable", sl_pp_context_cstr(&context, outtokens[i].data.extension)); break; + case SL_PP_LINE: + fprintf(out, "#line %u", outtokens[i].data.line); + break; + default: assert(0); } |