[core] Use separate attribute component for line normals

Broadcom GPUs don't cope well with using the least significant bit for this.
This commit is contained in:
John Firebaugh
2017-08-01 12:22:16 -07:00
parent 33407591f5
commit 822df3dd51
11 changed files with 47 additions and 46 deletions

View File

@@ -10,7 +10,7 @@ namespace mbgl {
using namespace style;
static_assert(sizeof(LineLayoutVertex) == 8, "expected LineLayoutVertex size");
static_assert(sizeof(LineLayoutVertex) == 10, "expected LineLayoutVertex size");
template <class Values, class...Args>
Values makeValues(const RenderLinePaintProperties::PossiblyEvaluated& properties,