Hi, Chad,

I notice that you have submitted a fix android build for glsl.(5497cc428fa7c6670d252d34f4a67c9498ae3895). as you pointed out, you included "external/astl" and plan to submit the second half fix to upstream. what's going on for the second half?

i update my android astl to the newest, and the numeric_limits<float>::infinity is still misssing? further, google dropped external/mesa from official repository. does it mean that it won't accept any fix for mesa?

what's your patch for it? i just copied the definition from GNU stdc++, is it right?

xliu@xliu-desktop:~/Development/android-dev/external/astl$ git diff .
diff --git a/include/limits b/include/limits
index 5213a65..df11641 100644
--- a/include/limits
+++ b/include/limits
@@ -110,6 +110,7 @@ struct numeric_limits<float>

     static float min() { return __FLT_MIN__; }
     static float max() { return __FLT_MAX__; }
+    static float infinity() throw() { return __builtin_huge_valf (); }

     static const bool is_signed = true;
     static const bool is_integer = false
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to