summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_emit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/slang/slang_emit.h')
-rw-r--r--src/mesa/shader/slang/slang_emit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_emit.h b/src/mesa/shader/slang/slang_emit.h
index 4db4bbe5621..59fb2fa890d 100644
--- a/src/mesa/shader/slang/slang_emit.h
+++ b/src/mesa/shader/slang/slang_emit.h
@@ -40,6 +40,10 @@ extern GLuint
_slang_swizzle_swizzle(GLuint swz1, GLuint swz2);
+extern GLuint
+_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,