summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_storage.c
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-02-02 15:05:46 -0700
committerBrian <brian@yutani.localnet.net>2007-02-02 15:05:46 -0700
commit11e92390f6be99d9f57554bb000a2d288f3ac287 (patch)
tree339fb9625755f2eb4685422fb6ce74d8b266c2aa /src/mesa/shader/slang/slang_storage.c
parentb94c14114f8d5ec7983be0e9d6f286232e183894 (diff)
remove more assembly-related code
Diffstat (limited to 'src/mesa/shader/slang/slang_storage.c')
-rw-r--r--src/mesa/shader/slang/slang_storage.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/shader/slang/slang_storage.c b/src/mesa/shader/slang/slang_storage.c
index 472d08e6c1..747d8e1d29 100644
--- a/src/mesa/shader/slang/slang_storage.c
+++ b/src/mesa/shader/slang/slang_storage.c
@@ -136,14 +136,14 @@ aggregate_variables(slang_storage_aggregate * agg,
slang_variable_scope * vars, slang_function_scope * funcs,
slang_struct_scope * structs,
slang_variable_scope * globals,
- slang_assembly_file * file, slang_atom_pool * atoms)
+ slang_atom_pool * atoms)
{
GLuint i;
for (i = 0; i < vars->num_variables; i++)
if (!_slang_aggregate_variable(agg, &vars->variables[i]->type.specifier,
vars->variables[i]->array_len, funcs,
- structs, globals, file, atoms))
+ structs, globals, atoms))
return GL_FALSE;
return GL_TRUE;
}
@@ -154,7 +154,7 @@ _slang_aggregate_variable(slang_storage_aggregate * agg,
slang_function_scope * funcs,
slang_struct_scope * structs,
slang_variable_scope * vars,
- slang_assembly_file * file, slang_atom_pool * atoms)
+ slang_atom_pool * atoms)
{
switch (spec->type) {
case slang_spec_bool:
@@ -196,7 +196,7 @@ _slang_aggregate_variable(slang_storage_aggregate * agg,
return aggregate_vector(agg, slang_stor_int, 1);
case slang_spec_struct:
return aggregate_variables(agg, spec->_struct->fields, funcs, structs,
- vars, file, atoms);
+ vars, atoms);
case slang_spec_array:
{
slang_storage_array *arr;
@@ -216,7 +216,7 @@ _slang_aggregate_variable(slang_storage_aggregate * agg,
return GL_FALSE;
}
if (!_slang_aggregate_variable(arr->aggregate, spec->_array, 0,
- funcs, structs, vars, file, atoms))
+ funcs, structs, vars, atoms))
return GL_FALSE;
arr->length = array_len;
/* TODO: check if 0 < arr->length <= 65535 */