summaryrefslogtreecommitdiff
path: root/java/tests/RsTest_16/src/com/android/rs/test/rstypes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'java/tests/RsTest_16/src/com/android/rs/test/rstypes.rs')
-rw-r--r--java/tests/RsTest_16/src/com/android/rs/test/rstypes.rs18
1 files changed, 17 insertions, 1 deletions
diff --git a/java/tests/RsTest_16/src/com/android/rs/test/rstypes.rs b/java/tests/RsTest_16/src/com/android/rs/test/rstypes.rs
index 22d9c138..a517189f 100644
--- a/java/tests/RsTest_16/src/com/android/rs/test/rstypes.rs
+++ b/java/tests/RsTest_16/src/com/android/rs/test/rstypes.rs
@@ -28,6 +28,9 @@ static bool basic_test(uint32_t index) {
rs_matrix4x4 matrix4x4TestLocal;
rs_matrix3x3 matrix3x3TestLocal;
rs_matrix2x2 matrix2x2TestLocal;
+ (void) matrix4x4TestLocal;
+ (void) matrix3x3TestLocal;
+ (void) matrix2x2TestLocal;
// This test focuses primarily on compilation-time, not run-time.
rs_element elementTestLocal;
@@ -41,12 +44,26 @@ static bool basic_test(uint32_t index) {
rs_program_raster program_rasterTestLocal;
rs_program_store program_storeTestLocal;
rs_font fontTestLocal;
+ rsClearObject(&elementTestLocal);
+ rsClearObject(&typeTestLocal);
+ rsClearObject(&allocationTestLocal);
+ rsClearObject(&samplerTestLocal);
+ rsClearObject(&scriptTestLocal);
+ rsClearObject(&meshTestLocal);
+ rsClearObject(&program_fragmentTestLocal);
+ rsClearObject(&program_vertexTestLocal);
+ rsClearObject(&program_rasterTestLocal);
+ rsClearObject(&program_storeTestLocal);
+ rsClearObject(&fontTestLocal);
rs_font fontTestLocalArray[4];
+ (void) fontTestLocalArray;
rs_font fontTestLocalPreInit = fontTest;
+ (void) fontTestLocalPreInit;
struct my_struct structTest;
+ (void) structTest;
fontTestLocal = fontTest;
//allocationTestLocal = allocationTest;
@@ -76,4 +93,3 @@ void test_rstypes(uint32_t index, int test_num) {
rsDebug("rstypes_test PASSED", 0);
}
}
-