projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aa3222
)
glsl: Handle line tokens in apps/process.
author
Michal Krol
<michal@vmware.com>
Fri, 4 Sep 2009 13:16:42 +0000
(15:16 +0200)
committer
Michal Krol
<michal@vmware.com>
Mon, 7 Sep 2009 08:12:08 +0000
(10:12 +0200)
src/glsl/apps/process.c
patch
|
blob
|
history
diff --git
a/src/glsl/apps/process.c
b/src/glsl/apps/process.c
index b40ad442bbb02e25573907b464c855c790068fc4..ca96d62f784924e7facd24d1f94f140150785e13 100644
(file)
--- 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);
}