summaryrefslogtreecommitdiffstats
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.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_link.h b/src/mesa/shader/slang/slang_link.h
index c5691300866..a7898530318 100644
--- a/src/mesa/shader/slang/slang_link.h
+++ b/src/mesa/shader/slang/slang_link.h
@@ -124,7 +124,8 @@ typedef struct
typedef struct
{
- GLuint addr;
+ GLuint addr; /* memory location */
+ GLuint fill; /* 1..4, number of components used */
} slang_attrib_slot;
typedef struct
@@ -302,8 +303,10 @@ typedef struct
GLvoid slang_program_ctr (slang_program *);
GLvoid slang_program_dtr (slang_program *);
+GLvoid slang_program_rst (slang_program *);
-GLboolean _slang_link (slang_program *, slang_translation_unit **, GLuint);
+extern GLboolean
+_slang_link (slang_program *, slang_code_object **, GLuint);
#ifdef __cplusplus
}