summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-09-04 15:29:35 +0200
committerMichal Krol <[email protected]>2009-09-07 10:12:11 +0200
commitb7960b3d3ac347604bfec705a50d6c2eda439eef (patch)
tree0aeb6410ee4ee6a85f72eef023ca2e5dd3710030 /src/glsl
parenta64ba93aab6de7ee2ceb70f39cf2dbe794940c97 (diff)
glsl: Handle file tokens in apps/process.
Diffstat (limited to 'src/glsl')
-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 ca96d62f784..71211ccb727 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);
}