diff options
author | Neil Roberts <neil@linux.intel.com> | 2011-08-12 16:29:30 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2011-09-05 19:02:04 +0100 |
commit | e7f374d7995eed42df5f84a8831f820dcf8ab72b (patch) | |
tree | 63c6e6d7345b908ed544e1cd67b3e3ac3f1abad6 /COPYING | |
parent | 769c8472dd36064dd39510922265a43e25276ea8 (diff) | |
download | cogl-e7f374d7995eed42df5f84a8831f820dcf8ab72b.tar.gz |
cogl-pipeline-fragend-glsl: Cache the results of texture lookups
Whenever a texture lookup is performed for a layer the result is now
stored in a variable and used repeatedly instead of generating the
code for the lookup every time it is accessed. This means for example
when using the INTERPOLATE function with a texture lookup for the
third parameter it will only generate one texture lookup instead of
two.
https://bugzilla.gnome.org/show_bug.cgi?id=656426
Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions