Home | History | Annotate | Download | only in cts
      1 #pragma version(1)
      2 #pragma rs java_package_name(android.renderscript.cts)
      3 
      4 typedef struct fmin_f32_in {
      5     float first;
      6     float second;
      7 } input1;
      8 
      9 void fmin_f32_1(const input1* in, float* out){
     10     *out = fmin(in->first, in->second);
     11 }
     12 
     13 typedef struct fmin_f32_2_in {
     14     float2 first;
     15     float2 second;
     16 } input2;
     17 
     18 void fmin_f32_2(const input2* in, float2* out){
     19     *out = fmin(in->first, in->second);
     20 }
     21 
     22 typedef struct fmin_f32_3_in {
     23     float3 first;
     24     float3 second;
     25 } input3;
     26 
     27 void fmin_f32_3(const input3* in, float3* out){
     28     *out = fmin(in->first, in->second);
     29 }
     30 
     31 typedef struct fmin_f32_4_in {
     32     float4 first;
     33     float4 second;
     34 } input4;
     35 
     36 void fmin_f32_4(const input4* in, float4* out){
     37     *out = fmin(in->first, in->second);
     38 }
     39