Cleanup: Fix build warnings from OSL shader compilation

There were to copies of stdosl.h one from stock OSL
and one in the cycles tree augmented with cycles
specific closures.

moved the cycles ones to stdcycles.h and copied
the stock stdosl.h and accompanying headers from
the OSL shader folder.

for further details see D6812.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D6812
This commit is contained in:
Ray Molenkamp
2020-02-11 21:40:23 -07:00
parent 6a28d14f72
commit df1e9b662b
100 changed files with 260 additions and 1698 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
#include "stdosl.h"
#include "stdcycles.h"
shader node_normal(normal direction = normal(0.0, 0.0, 0.0),
normal NormalIn = normal(0.0, 0.0, 0.0),