summaryrefslogtreecommitdiffstats
path: root/scriptc
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-03-18 16:29:59 -0700
committerJason Sams <rjsams@android.com>2010-03-18 16:29:59 -0700
commitfcee14df36a7a12ab73dc3fc35fb18c7d68deb0f (patch)
tree3133ad26c0643f955c268cd9efd1ef06c8eb46f1 /scriptc
parent3ffa00daeb633c7a4adc8e05f90a0c89e7d82fc1 (diff)
downloadandroid_frameworks_rs-fcee14df36a7a12ab73dc3fc35fb18c7d68deb0f.tar.gz
android_frameworks_rs-fcee14df36a7a12ab73dc3fc35fb18c7d68deb0f.tar.bz2
android_frameworks_rs-fcee14df36a7a12ab73dc3fc35fb18c7d68deb0f.zip
Change opaque RS typedefs from void * to int. These will likely become int64_t once proper support for >32bits is worked out.
Change-Id: Ic30240fe6c79170a0a88fd51185a1f01bd616c45
Diffstat (limited to 'scriptc')
-rw-r--r--scriptc/rs_types.rsh20
1 files changed, 10 insertions, 10 deletions
diff --git a/scriptc/rs_types.rsh b/scriptc/rs_types.rsh
index ae1acdbd..4198a748 100644
--- a/scriptc/rs_types.rsh
+++ b/scriptc/rs_types.rsh
@@ -14,16 +14,16 @@ typedef uint16_t ushort;
typedef uint32_t uint;
//typedef uint64_t ulong;
-typedef void * rs_element;
-typedef void * rs_type;
-typedef void * rs_allocation;
-typedef void * rs_sampler;
-typedef void * rs_script;
-typedef void * rs_mesh;
-typedef void * rs_program_fragment;
-typedef void * rs_program_vertex;
-typedef void * rs_program_raster;
-typedef void * rs_program_store;
+typedef int rs_element;
+typedef int rs_type;
+typedef int rs_allocation;
+typedef int rs_sampler;
+typedef int rs_script;
+typedef int rs_mesh;
+typedef int rs_program_fragment;
+typedef int rs_program_vertex;
+typedef int rs_program_raster;
+typedef int rs_program_store;
typedef float float2 __attribute__((ext_vector_type(2)));
typedef float float3 __attribute__((ext_vector_type(3)));