Update RS prebuilts.
Change-Id: I46b2155d62e73fa9ba3fdc34e534e27207a482fc
diff --git a/renderscript/include/rs_cl.rsh b/renderscript/include/rs_cl.rsh
index 3d15c16..788aea8 100644
--- a/renderscript/include/rs_cl.rsh
+++ b/renderscript/include/rs_cl.rsh
@@ -450,14 +450,6 @@
/**
* Return fractional part of v
*
- * Supports float, float2, float3, float4.
- */
-_RS_RUNTIME float __attribute__((overloadable)) fract(float v);
-FN_FUNC_FN(fract)
-
-/**
- * Return fractional part of v
- *
* @param iptr iptr[0] will be set to the floor of the input value.
* Supports float, float2, float3, float4.
*/
@@ -465,6 +457,31 @@
FN_FUNC_FN_PFN(fract)
/**
+ * Return fractional part of v
+ *
+ * Supports float, float2, float3, float4.
+ */
+static inline float __attribute__((overloadable)) fract(float v) {
+ float unused;
+ return fract(v, &unused);
+}
+
+static inline float2 __attribute__((overloadable)) fract(float2 v) {
+ float2 unused;
+ return fract(v, &unused);
+}
+
+static inline float3 __attribute__((overloadable)) fract(float3 v) {
+ float3 unused;
+ return fract(v, &unused);
+}
+
+static inline float4 __attribute__((overloadable)) fract(float4 v) {
+ float4 unused;
+ return fract(v, &unused);
+}
+
+/**
* Return the mantissa and place the exponent into iptr[0]
*
* @param v Supports float, float2, float3, float4.
@@ -966,6 +983,8 @@
#endif // (defined(RS_VERSION) && (RS_VERSION >= 17))
+
+
#if (defined(RS_VERSION) && (RS_VERSION >= 18))
// Fast native math functions.
@@ -1017,6 +1036,7 @@
#endif // (defined(RS_VERSION) && (RS_VERSION >= 18))
+
#undef CVT_FUNC
#undef CVT_FUNC_2
#undef FN_FUNC_FN
diff --git a/renderscript/include/rs_types.rsh b/renderscript/include/rs_types.rsh
index 5c99313..57dba37 100644
--- a/renderscript/include/rs_types.rsh
+++ b/renderscript/include/rs_types.rsh
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011 The Android Open Source Project
+ * Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -530,6 +530,7 @@
RS_KIND_PIXEL_RGB = 10,
RS_KIND_PIXEL_RGBA = 11,
RS_KIND_PIXEL_DEPTH = 12,
+ RS_KIND_PIXEL_YUV = 13,
RS_KIND_INVALID = 100,
} rs_data_kind;
@@ -617,6 +618,7 @@
RS_SAMPLER_WRAP = 3,
RS_SAMPLER_CLAMP = 4,
RS_SAMPLER_LINEAR_MIP_NEAREST = 5,
+ RS_SAMPLER_MIRRORED_REPEAT = 6,
RS_SAMPLER_INVALID = 100,
} rs_sampler_value;
diff --git a/renderscript/lib/javalib.jar b/renderscript/lib/javalib.jar
index 1ddfcae..4002039 100644
--- a/renderscript/lib/javalib.jar
+++ b/renderscript/lib/javalib.jar
Binary files differ
diff --git a/renderscript/lib/libRSSupport.so b/renderscript/lib/libRSSupport.so
index 974cc65..c2f5ed3 100755
--- a/renderscript/lib/libRSSupport.so
+++ b/renderscript/lib/libRSSupport.so
Binary files differ
diff --git a/renderscript/lib/libclcore.bc b/renderscript/lib/libclcore.bc
index 8106c0c..9dd4bf3 100644
--- a/renderscript/lib/libclcore.bc
+++ b/renderscript/lib/libclcore.bc
Binary files differ
diff --git a/renderscript/lib/libcompiler_rt.a b/renderscript/lib/libcompiler_rt.a
index 9a50aa9..cd76289 100644
--- a/renderscript/lib/libcompiler_rt.a
+++ b/renderscript/lib/libcompiler_rt.a
Binary files differ
diff --git a/renderscript/lib/librsjni.so b/renderscript/lib/librsjni.so
index d2e289a..0d4020e 100755
--- a/renderscript/lib/librsjni.so
+++ b/renderscript/lib/librsjni.so
Binary files differ
diff --git a/tools/darwin/bcc_compat b/tools/darwin/bcc_compat
index b17427e..88387e1 100755
--- a/tools/darwin/bcc_compat
+++ b/tools/darwin/bcc_compat
Binary files differ
diff --git a/tools/darwin/libbcc.dylib b/tools/darwin/libbcc.dylib
index 3f394ba..85f1b04 100755
--- a/tools/darwin/libbcc.dylib
+++ b/tools/darwin/libbcc.dylib
Binary files differ
diff --git a/tools/darwin/libbcinfo.dylib b/tools/darwin/libbcinfo.dylib
index 4b07667..d7baac9 100755
--- a/tools/darwin/libbcinfo.dylib
+++ b/tools/darwin/libbcinfo.dylib
Binary files differ
diff --git a/tools/darwin/llvm-rs-cc b/tools/darwin/llvm-rs-cc
index 9ac4d55..ae58ab2 100755
--- a/tools/darwin/llvm-rs-cc
+++ b/tools/darwin/llvm-rs-cc
Binary files differ
diff --git a/tools/linux/bcc_compat b/tools/linux/bcc_compat
index c782001..57b48b4 100755
--- a/tools/linux/bcc_compat
+++ b/tools/linux/bcc_compat
Binary files differ
diff --git a/tools/linux/libbcc.so b/tools/linux/libbcc.so
index 798f434..ebbcb82 100755
--- a/tools/linux/libbcc.so
+++ b/tools/linux/libbcc.so
Binary files differ
diff --git a/tools/linux/libbcinfo.so b/tools/linux/libbcinfo.so
index 0b51fbb..f6c05ea 100755
--- a/tools/linux/libbcinfo.so
+++ b/tools/linux/libbcinfo.so
Binary files differ
diff --git a/tools/linux/llvm-rs-cc b/tools/linux/llvm-rs-cc
index 6ef2cbe..0ccd5fe 100755
--- a/tools/linux/llvm-rs-cc
+++ b/tools/linux/llvm-rs-cc
Binary files differ