summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_compile.h
diff options
context:
space:
mode:
authorMichal Krol <mjkrol@gmail.org>2006-02-21 12:35:06 +0000
committerMichal Krol <mjkrol@gmail.org>2006-02-21 12:35:06 +0000
commitcc1591667d55a6dbfafbd3d6a7afa9f9288c625d (patch)
treea3ef92d3a8667e830c94db9441089dbadb45e31a /src/mesa/shader/slang/slang_compile.h
parent8986e36f368d11bcf3f1938d77b5df69aa2ee11b (diff)
More GLSL code:
- uniforms (only GetLocation, Uniform1f and Uniform4fv for now for demos); - fix bugs and optimize array size handling; - 2D texture sampling (needs Enable(TEXTURE_2D) to work); - decrease built-in library assembly size by 30%.
Diffstat (limited to 'src/mesa/shader/slang/slang_compile.h')
-rw-r--r--src/mesa/shader/slang/slang_compile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_compile.h b/src/mesa/shader/slang/slang_compile.h
index 8c7b96c970..7695235c21 100644
--- a/src/mesa/shader/slang/slang_compile.h
+++ b/src/mesa/shader/slang/slang_compile.h
@@ -60,7 +60,9 @@ typedef struct slang_translation_unit_
struct slang_machine_ *machine;
int free_machine;
slang_atom_pool *atom_pool;
- int free_atom_pool;
+ int free_atom_pool;
+ slang_export_data_table exp_data;
+ slang_active_uniforms uniforms;
} slang_translation_unit;
int slang_translation_unit_construct (slang_translation_unit *);