diff options
Diffstat (limited to 'java/tests/RsTest_14/src/com/android/rs/test/rstypes.rs')
-rw-r--r-- | java/tests/RsTest_14/src/com/android/rs/test/rstypes.rs | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/java/tests/RsTest_14/src/com/android/rs/test/rstypes.rs b/java/tests/RsTest_14/src/com/android/rs/test/rstypes.rs index 22d9c138..8577604d 100644 --- a/java/tests/RsTest_14/src/com/android/rs/test/rstypes.rs +++ b/java/tests/RsTest_14/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,18 +44,30 @@ static bool basic_test(uint32_t index) { rs_program_raster program_rasterTestLocal; rs_program_store program_storeTestLocal; rs_font fontTestLocal; + (void) elementTestLocal; + (void) typeTestLocal; + (void) allocationTestLocal; + (void) samplerTestLocal; + (void) scriptTestLocal; + (void) meshTestLocal; + (void) program_fragmentTestLocal; + (void) program_vertexTestLocal; + (void) program_rasterTestLocal; + (void) program_storeTestLocal; + (void) fontTestLocal; rs_font fontTestLocalArray[4]; + (void) fontTestLocalArray; rs_font fontTestLocalPreInit = fontTest; + (void) fontTestLocalPreInit; struct my_struct structTest; + (void) structTest; fontTestLocal = fontTest; - //allocationTestLocal = allocationTest; fontTest = fontTestLocal; - //allocationTest = allocationTestLocal; /*for (int i = 0; i < 4; i++) { fontTestLocalArray[i] = fontTestLocal; @@ -76,4 +91,3 @@ void test_rstypes(uint32_t index, int test_num) { rsDebug("rstypes_test PASSED", 0); } } - |