aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_link.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/slang/slang_link.h')
-rw-r--r--src/mesa/shader/slang/slang_link.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_link.h b/src/mesa/shader/slang/slang_link.h
index 433964223a5..af45c6657e4 100644
--- a/src/mesa/shader/slang/slang_link.h
+++ b/src/mesa/shader/slang/slang_link.h
@@ -316,6 +316,9 @@ enum
SLANG_COMMON_CODE_MAX
};
+/**
+ * XXX promote this to mtypes.h?
+ */
typedef struct
{
slang_active_variables active_uniforms;
@@ -345,6 +348,11 @@ _slang_program_rst (slang_program *);
extern GLboolean
_slang_link (slang_program *, slang_code_object **, GLuint);
+
+extern void
+_slang_link2(GLcontext *ctx, GLhandleARB h,
+ struct gl_linked_program *linked);
+
#ifdef __cplusplus
}
#endif