For some reason we wound up doing the modulation with the incoming color twice and ...
12 years, 1 month 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 12 years, 1 month ago by bsalomon
Modified 12 years, 1 month ago
Reviewers: robertphillips
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0