Send correct 3rd component for uvr vertex attribute
Bug: skia: Change-Id: I757c8e61d9fa1addf0864a67075124f29297abba Reviewed-on: https://skia-review.googlesource.com/c/167386 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Michael Ludwig <michaelludwig@google.com>
This commit is contained in:
parent
c34d065638
commit
c10608188f
@ -327,7 +327,7 @@ void GrQuadPerEdgeAA::TessellateImpl(void* vertices, size_t vertexSize, float* l
|
||||
offset = store(u, localStorage, offset);
|
||||
offset = store(v, localStorage, offset);
|
||||
if (srcDim == 3) {
|
||||
offset = store(w, localStorage, offset);
|
||||
offset = store(r, localStorage, offset);
|
||||
}
|
||||
}
|
||||
int edgeOffset = offset; // The 4 edges are separate from the 4 vertices
|
||||
|
Loading…
Reference in New Issue
Block a user