summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_preprocess.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-01-07 18:44:00 -0700
committerBrian Paul <[email protected]>2009-01-07 18:44:00 -0700
commit9629be5e07dc1d2b69cf7a761a6bb3ac0ec26453 (patch)
tree24ed2fa4cfa50e273550770fc3d2f76d5ed0d561 /src/mesa/shader/slang/slang_preprocess.h
parent176464b14b8ec2a248aed95df087e47749c851fa (diff)
glsl: pass GLcontext::Extension info down into GLSL preprocessor
Now the #extension directives can be handled properly.
Diffstat (limited to 'src/mesa/shader/slang/slang_preprocess.h')
-rw-r--r--src/mesa/shader/slang/slang_preprocess.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/shader/slang/slang_preprocess.h b/src/mesa/shader/slang/slang_preprocess.h
index d8eb12e4ff2..dd996a6314b 100644
--- a/src/mesa/shader/slang/slang_preprocess.h
+++ b/src/mesa/shader/slang/slang_preprocess.h
@@ -33,8 +33,8 @@ extern GLboolean
_slang_preprocess_version (const char *, GLuint *, GLuint *, slang_info_log *);
extern GLboolean
-_slang_preprocess_directives (slang_string *output, const char *input,
- slang_info_log *);
-
+_slang_preprocess_directives(slang_string *output, const char *input,
+ slang_info_log *,
+ const struct gl_extensions *extensions);
#endif /* SLANG_PREPROCESS_H */