Blender Git Loki

Git Commits -> Revision 6e859f7

Revision 6e859f7 by Sergey Sharybin (master)
October 19, 2021, 09:29 (GMT)
Fix invalid OSL shader compilation state

The lookup tables are to be initialized after device free.

On Linux was only noticeable when rendering default cube scene with
an extra assert. On Windows it was causing an assert in STL in debug
builds.

Differential Revision: https://developer.blender.org/D12918

Commit Details:

Full Hash: 6e859f7ff8906766ab19d46d06e2c131301d266d
Parent Commit: 9c8255d
Lines Changed: +16, -15

2 Modified Paths:

/intern/cycles/render/osl.cpp (+15, -14) (Diff)
/intern/cycles/render/osl.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021