summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-09-04 15:29:35 +0200
committerMichal Krol <michal@vmware.com>2009-09-04 15:29:35 +0200
commitc2670f621e6ea338cef2a955cf15cea2ad0525f8 (patch)
tree2fdb83052f9f12bd69752add74ee06aee8f5aa65
parent9d8314b5a8d724ccad71f3505e283e01668e3138 (diff)
glsl: Handle file tokens in apps/process.
-rw-r--r--src/glsl/apps/process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/apps/process.c b/src/glsl/apps/process.c
index ca96d62f78..71211ccb72 100644
--- a/src/glsl/apps/process.c
+++ b/src/glsl/apps/process.c
@@ -348,6 +348,10 @@ main(int argc,
fprintf(out, "#line %u", outtokens[i].data.line);
break;
+ case SL_PP_FILE:
+ fprintf(out, " #file %u", outtokens[i].data.file);
+ break;
+
default:
assert(0);
}