From: Michal Krol Date: Fri, 4 Sep 2009 13:16:42 +0000 (+0200) Subject: glsl: Handle line tokens in apps/process. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6df77fb9a6093eb8ed13b5c7c1327c162c41584;p=mesa.git glsl: Handle line tokens in apps/process. --- diff --git a/src/glsl/apps/process.c b/src/glsl/apps/process.c index b40ad442bbb..ca96d62f784 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); }