1#pragma version(1) 2#pragma rs java_package_name(foo) 3 4half h = (half) 1.2f; 5half2 h2 = {(half) 1.2f, (half) 2.3f}; 6half3 h3 = {(half) 1.2f, (half) 2.3f, (half) 3.4f}; 7half4 h4 = {(half) 1.2f, (half) 2.3f, (half) 3.4f, (half) 4.5f}; 8float f = 9.9999f; 9double d = 7.0; 10char c = 'a'; 11unsigned char uc = 'a'; 12short s = 1; 13unsigned short us = 1; 14int i = 5; 15unsigned int ui; 16long l = 13; 17unsigned long ul = 13; 18long long ll = 34; 19unsigned long long ull = 34; 20bool b = true; 21 22rs_element element; 23rs_type type; 24rs_allocation allocation; 25rs_sampler sampler; 26rs_script script; 27rs_data_kind dk; 28rs_data_type dt; 29 30float *fp; 31int *ip; 32 33