… | |
… | |
330 | } |
330 | } |
331 | }; |
331 | }; |
332 | |
332 | |
333 | template<> |
333 | template<> |
334 | template<class V> |
334 | template<class V> |
335 | struct sl_convert< uniform_ref<V> > |
335 | struct sl_convert< var_ref<V> > |
336 | { |
336 | { |
337 | typedef sl_expr< sl_append< uniform_ref<V> > > T; |
337 | typedef sl_expr< sl_append< var_ref<V> > > T; |
338 | static inline const T convert (const uniform_ref<V> &v) |
338 | static inline const T convert (const var_ref<V> &v) |
339 | { |
339 | { |
340 | return sl_append< uniform_ref<V> > (v); |
340 | return sl_append< var_ref<V> > (v); |
341 | } |
341 | } |
342 | }; |
342 | }; |
343 | |
343 | |
344 | template<> |
344 | template<> |
345 | struct sl_convert<glvar> |
345 | struct sl_convert<glvar> |