diff options
author | Chris Loer <chris.loer@gmail.com> | 2017-05-17 21:40:57 -0700 |
---|---|---|
committer | Ansis Brammanis <brammanis@gmail.com> | 2017-07-10 13:09:33 -0400 |
commit | fad63088d08c9d96347b6162cb34b412c386bc6d (patch) | |
tree | ed3bcb7e4d2d27bd7e3fb231e56740b5308c283b /src/mbgl/programs/attributes.hpp | |
parent | e9b67e9b6f40f5bdebb9d2b590d0ae91e04a116c (diff) | |
download | qtlocation-mapboxgl-fad63088d08c9d96347b6162cb34b412c386bc6d.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); |