diff options
author | Brian <[email protected]> | 2007-02-13 09:23:00 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-02-13 09:23:00 -0700 |
commit | ed490e4643f4b20b2b4b745f0285e32d099663a0 (patch) | |
tree | 5ee2127b017ee6bd04a22c57486103dcd5939efa /src/mesa/shader | |
parent | 5620392d67278714f7c2a5ccc3101334ac35ab3f (diff) |
remove dead code
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/slang/slang_typeinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/shader/slang/slang_typeinfo.c b/src/mesa/shader/slang/slang_typeinfo.c index eef2cb96db4..154a1eeef49 100644 --- a/src/mesa/shader/slang/slang_typeinfo.c +++ b/src/mesa/shader/slang/slang_typeinfo.c @@ -690,7 +690,7 @@ _slang_locate_function(const slang_function_scope * funcs, slang_atom a_name, return NULL; } if (!slang_type_specifier_equal(&ti.spec, - &f->parameters->variables[j/* + haveRetValue*/]->type.specifier)) { + &f->parameters->variables[j]->type.specifier)) { slang_typeinfo_destruct(&ti); break; } @@ -698,8 +698,8 @@ _slang_locate_function(const slang_function_scope * funcs, slang_atom a_name, /* "out" and "inout" formal parameter requires the actual parameter to be l-value */ if (!ti.can_be_referenced && - (f->parameters->variables[j/* + haveRetValue*/]->type.qualifier == slang_qual_out || - f->parameters->variables[j/* + haveRetValue*/]->type.qualifier == slang_qual_inout)) + (f->parameters->variables[j]->type.qualifier == slang_qual_out || + f->parameters->variables[j]->type.qualifier == slang_qual_inout)) break; } if (j == num_args) |