diff options
author | Chris Loer <chris.loer@gmail.com> | 2017-05-17 21:40:57 -0700 |
---|---|---|
committer | Ansis Brammanis <brammanis@gmail.com> | 2017-07-11 09:10:23 -0700 |
commit | 8f5e0b66ab13cff7d35ed46afaddbdca9ab1993f (patch) | |
tree | 49b45a6327092a9affa9fd4fd1b3f2764df4b180 /src/mbgl/programs/attributes.hpp | |
parent | 59df3a90f41461562a80688337ec53687e341124 (diff) | |
download | qtlocation-mapboxgl-8f5e0b66ab13cff7d35ed46afaddbdca9ab1993f.tar.gz |
[core] Pass pitch-scaling vertex attributes and uniforms to shaders.
Diffstat (limited to 'src/mbgl/programs/attributes.hpp')
-rw-r--r-- | src/mbgl/programs/attributes.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/programs/attributes.hpp b/src/mbgl/programs/attributes.hpp index 8f2751080f..f39af2deec 100644 --- a/src/mbgl/programs/attributes.hpp +++ b/src/mbgl/programs/attributes.hpp @@ -23,6 +23,8 @@ inline uint16_t packUint8Pair(T a, T b) { MBGL_DEFINE_ATTRIBUTE(int16_t, 2, a_pos); MBGL_DEFINE_ATTRIBUTE(int16_t, 2, a_extrude); MBGL_DEFINE_ATTRIBUTE(int16_t, 4, a_pos_offset); +MBGL_DEFINE_ATTRIBUTE(int16_t, 2, a_label_pos); +MBGL_DEFINE_ATTRIBUTE(int16_t, 2, a_anchor_pos); MBGL_DEFINE_ATTRIBUTE(uint16_t, 2, a_texture_pos); MBGL_DEFINE_ATTRIBUTE(int16_t, 3, a_normal); MBGL_DEFINE_ATTRIBUTE(uint16_t, 1, a_edgedistance); |