Mesa (glsl2): ir_to_mesa: Fix stray "break" that broke functions of > 1 argument.

Eric Anholt anholt at kemper.freedesktop.org
Tue Jul 27 17:47:35 UTC 2010


Module: Mesa
Branch: glsl2
Commit: fdbaca931a504a70d6fec54e2f85caac6281377d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fdbaca931a504a70d6fec54e2f85caac6281377d

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Jul 27 10:08:38 2010 -0700

ir_to_mesa: Fix stray "break" that broke functions of >1 argument.

---

 src/mesa/program/ir_to_mesa.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index 2fd0507..defacc7 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/ir_to_mesa.cpp
@@ -1498,7 +1498,6 @@ ir_to_mesa_visitor::get_function_signature(ir_function_signature *sig)
       this->variables.push_tail(storage);
 
       this->next_temp += type_size(param->type);
-      break;
    }
 
    if (!sig->return_type->is_void()) {




More information about the mesa-commit mailing list