Home | History | Annotate | Download | only in ShaderLib
      1 
      2 
      3 #ifdef ENABLE_UBO
      4     // #version 140
      5     #extension GL_ARB_uniform_buffer_object : enable
      6 
      7     #define START_MATPARAMS layout(std140) uniform matparams {
      8     #define END_MATPARAMS }
      9     #define MATPARAM
     10     #define attribute in
     11 #else
     12     #define START_MATPARAMS
     13     #define END_MATPARAMS
     14     #define MATPARAM uniform
     15 #endif
     16