Fix problems with NDK Sampler implementation.
Creation methods should be static and we need to use the proper Context
pointer for the dispatch methods.
Change-Id: I43c25a7348c9a9aa9a2a82e184d4ac644625800b
diff --git a/tests/cppbasic/mono.rs b/tests/cppbasic/mono.rs
index eab0336..9e262e7 100644
--- a/tests/cppbasic/mono.rs
+++ b/tests/cppbasic/mono.rs
@@ -42,6 +42,12 @@
char c[3];
};
+rs_allocation alloc;
+rs_element elem;
+rs_type type;
+rs_sampler sampler;
+rs_script script;
+
void root(const uchar4 *v_in, uchar4 *v_out) {
float4 f4 = rsUnpackColor8888(*v_in);