Mesa (master): glsl: regenerate builtins

Eric Anholt anholt at kemper.freedesktop.org
Wed Sep 8 22:09:51 UTC 2010


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

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Sep  8 15:01:02 2010 -0700

glsl: regenerate builtins

---

 src/glsl/builtin_function.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glsl/builtin_function.cpp b/src/glsl/builtin_function.cpp
index 87ac0f7..11b96fd 100644
--- a/src/glsl/builtin_function.cpp
+++ b/src/glsl/builtin_function.cpp
@@ -3141,7 +3141,7 @@ static const char *builtin_step =
    "     ((declare () vec4 t)\n"
    "      (assign (constant bool (1)) (x) (var_ref t) (expression float b2f (expression bool >= (swiz x (var_ref x))(swiz x (var_ref edge)))))\n"
    "      (assign (constant bool (1)) (y) (var_ref t) (expression float b2f (expression bool >= (swiz y (var_ref x))(swiz y (var_ref edge)))))\n"
-   "      (assign (constant bool (1)) (z) (var_ref t) (expression float b2f (expression bool >= (swiz y (var_ref x))(swiz z (var_ref edge)))))\n"
+   "      (assign (constant bool (1)) (z) (var_ref t) (expression float b2f (expression bool >= (swiz z (var_ref x))(swiz z (var_ref edge)))))\n"
    "      (assign (constant bool (1)) (w) (var_ref t) (expression float b2f (expression bool >= (swiz w (var_ref x))(swiz w (var_ref edge)))))\n"
    "      (return (var_ref t))))\n"
    "))\n"




More information about the mesa-commit mailing list