Support for unsigned long and unsigned long long.
Change-Id: I2f9cfb7f352e2e7e7fd49eac42a821c03b5fcb9f
This commit is contained in:
@@ -47,7 +47,7 @@ public class Element extends BaseObj {
|
||||
UNSIGNED_8 (8, 1),
|
||||
UNSIGNED_16 (9, 2),
|
||||
UNSIGNED_32 (10, 4),
|
||||
//UNSIGNED_64 (11, 8),
|
||||
UNSIGNED_64 (11, 8),
|
||||
|
||||
BOOLEAN(12, 1),
|
||||
|
||||
@@ -142,6 +142,13 @@ public class Element extends BaseObj {
|
||||
return rs.mElement_I32;
|
||||
}
|
||||
|
||||
public static Element U64(RenderScript rs) {
|
||||
if(rs.mElement_U64 == null) {
|
||||
rs.mElement_U64 = createUser(rs, DataType.UNSIGNED_64);
|
||||
}
|
||||
return rs.mElement_U64;
|
||||
}
|
||||
|
||||
public static Element I64(RenderScript rs) {
|
||||
if(rs.mElement_I64 == null) {
|
||||
rs.mElement_I64 = createUser(rs, DataType.SIGNED_64);
|
||||
|
||||
Reference in New Issue
Block a user