commit | b48800428906ae455c2b63acacd44e390e1fee49 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Fri Apr 05 11:17:55 2013 -0700 |
committer | Romain Guy <romainguy@google.com> | Fri Apr 05 14:17:17 2013 -0700 |
tree | bc0de8c6f51eb5c9cac2d5fe1d5a41fede6d727a | |
parent | 80fdc9624e6d53a78031bf99d34e7c01d53ad66e [diff] |
Use float textures to render gradients when possible Float textures offer better precision for dithering. In addition this change removes two uniforms from gradient shaders. These uniforms were used to dither gradients but their value is a build time constant. Instead we hardcode the value directly in the shader source at compile time. Change-Id: I05e9fd3eef93771843bbd91b453274452dfaefee