For some reason we wound up doing the modulation with the incoming color twice
and generating code that looks like this:
color0 *= vColor;
color0 = vec4(vColor * texture2D(uSampler0, coord));
This removes the first line.
Issue 6814056: Remove unnecessary mul and assignment in gradient shaders.
(Closed)
Created 12 years ago by bsalomon
Modified 12 years ago
Reviewers: robertphillips
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0