Mesa (master): glsl: 80-column wrapping and whitespace fixes

Ian Romanick idr at kemper.freedesktop.org
Mon Apr 18 17:06:56 PDT 2011


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

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Apr 18 17:06:08 2011 -0700

glsl: 80-column wrapping and whitespace fixes

---

 src/glsl/ast_function.cpp |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp
index e5cb873..67147b6 100644
--- a/src/glsl/ast_function.cpp
+++ b/src/glsl/ast_function.cpp
@@ -107,7 +107,11 @@ match_function_by_name(exec_list *instructions, const char *name,
     * FINISHME: matching signature but shader X + N contains an _exact_
     * FINISHME: matching signature.
     */
-   if (sig == NULL && (f == NULL || state->es_shader || !f->has_user_signature()) && state->symbols->get_type(name) == NULL && (state->language_version == 110 || state->symbols->get_variable(name) == NULL)) {
+   if (sig == NULL
+       && (f == NULL || state->es_shader || !f->has_user_signature())
+       && state->symbols->get_type(name) == NULL
+       && (state->language_version == 110
+	   || state->symbols->get_variable(name) == NULL)) {
       /* The current shader doesn't contain a matching function or signature.
        * Before giving up, look for the prototype in the built-in functions.
        */



More information about the mesa-commit mailing list