aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_emit.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-01-14 12:16:00 -0700
committerBrian Paul <[email protected]>2009-01-14 12:16:00 -0700
commitfae9604727c048834a7d5a90f8a652c86cff057a (patch)
treed976085922289ec2d0329f42ab962f2edae57229 /src/mesa/shader/slang/slang_emit.h
parentaac4a0509e6a5d8e3c8f8179519bcd21364ae18e (diff)
glsl: propagate pragma info down into compiler from preprocessor
Diffstat (limited to 'src/mesa/shader/slang/slang_emit.h')
-rw-r--r--src/mesa/shader/slang/slang_emit.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_emit.h b/src/mesa/shader/slang/slang_emit.h
index 59fb2fa890d..8ff52bf605d 100644
--- a/src/mesa/shader/slang/slang_emit.h
+++ b/src/mesa/shader/slang/slang_emit.h
@@ -46,7 +46,9 @@ _slang_var_swizzle(GLint size, GLint comp);
extern GLboolean
_slang_emit_code(slang_ir_node *n, slang_var_table *vartable,
- struct gl_program *prog, GLboolean withEnd,
+ struct gl_program *prog,
+ const struct gl_sl_pragmas *pragmas,
+ GLboolean withEnd,
slang_info_log *log);