diff options
author | Michal Krol <mjkrol@gmail.org> | 2006-02-13 11:38:37 +0000 |
---|---|---|
committer | Michal Krol <mjkrol@gmail.org> | 2006-02-13 11:38:37 +0000 |
commit | 02eb9acc5e4307db09662592951ef44319a0cda5 (patch) | |
tree | 585a539ed6d6775801dcc9e685759521680da9f9 /src/mesa/shader/slang/slang_compile_struct.h | |
parent | 44e9ccc708bb0a92dfeaf038ded60295dfe2d3ae (diff) |
Get it running for ARB_vertex_shader.
Add experimental print functions to builtin library.
Some functionality missing:
- automatic arrays;
- general constructors;
- local variable initialization;
- texture sampling and noise;
- semantic error checking;
- function prototypes.
Diffstat (limited to 'src/mesa/shader/slang/slang_compile_struct.h')
-rw-r--r-- | src/mesa/shader/slang/slang_compile_struct.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_compile_struct.h b/src/mesa/shader/slang/slang_compile_struct.h index 10af980216..4798b6042f 100644 --- a/src/mesa/shader/slang/slang_compile_struct.h +++ b/src/mesa/shader/slang/slang_compile_struct.h @@ -39,11 +39,11 @@ typedef struct slang_struct_scope_ int slang_struct_scope_construct (slang_struct_scope *);
void slang_struct_scope_destruct (slang_struct_scope *);
int slang_struct_scope_copy (slang_struct_scope *, const slang_struct_scope *);
-struct slang_struct_ *slang_struct_scope_find (slang_struct_scope *, const char *, int);
+struct slang_struct_ *slang_struct_scope_find (slang_struct_scope *, slang_atom, int);
typedef struct slang_struct_
{
- char *name;
+ slang_atom a_name;
struct slang_variable_scope_ *fields;
slang_struct_scope *structs;
} slang_struct;
|