On some Macs there is an AMD driver bug that requires each vertex attribute to ...
13 years, 2 months ago
(2011-10-11 19:43:23 UTC)
#1
On some Macs there is an AMD driver bug that requires each vertex attribute to
be 4 byte aligned. This breaks our per-vertex coverage attribute. We were using
4 bytes of space for the coverage attribute but setup GL to read just the high
byte. With this change we'll read the low byte which is aligned. The comments
now say the caller is required to set all four channels to the same value.
Issue 5250067: Fix per-vertex coverage on Macs with aligned attrib bug
(Closed)
Created 13 years, 2 months ago by bsalomon
Modified 13 years, 2 months ago
Reviewers: TomH
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 1