imageworks/OpenShadingLanguage — pull request #339 by lgritz (2014-02-19 22:10:57+00:00)
Title: Tighten up const folding and code generation for texture calls.

There were serveral additional cases where optional params passed to the
texture routines were merely redundantly setting the default values, so
we want to avoid extra processing or instructions in those cases.
Use macros to remove redundant error-prone code.