For some reason we wound up doing the modulation with the incoming color twice and ...
11 years, 10 months ago
(2012-10-30 15:38:09 UTC)
#1
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 11 years, 10 months ago by bsalomon
Modified 11 years, 10 months ago
Reviewers: robertphillips
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0