diff options
author | Michal Krol <[email protected]> | 2006-05-16 10:08:30 +0000 |
---|---|---|
committer | Michal Krol <[email protected]> | 2006-05-16 10:08:30 +0000 |
commit | 563f8ad50a3534b9724374d4571580bb85eb5ef9 (patch) | |
tree | 6085cb24a5d5fb5f9521ab6e1fb3cdf1889a3a88 /src/mesa/shader/slang/slang_link.h | |
parent | 21ef956e9a48ab21e724a480a592e17d651477e6 (diff) |
Fix attrib handling.
Diffstat (limited to 'src/mesa/shader/slang/slang_link.h')
-rw-r--r-- | src/mesa/shader/slang/slang_link.h | 7 |
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 } |