Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/device/cpu/kernel_thread_globals.cpp
| Show All 11 Lines | |||||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| * See the License for the specific language governing permissions and | * See the License for the specific language governing permissions and | ||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| #include "device/cpu/kernel_thread_globals.h" | #include "device/cpu/kernel_thread_globals.h" | ||||
| // clang-format off | // clang-format off | ||||
| #include "kernel/osl/osl_shader.h" | #include "kernel/osl/shader.h" | ||||
| #include "kernel/osl/osl_globals.h" | #include "kernel/osl/globals.h" | ||||
| // clang-format on | // clang-format on | ||||
| #include "util/util_profiling.h" | #include "util/profiling.h" | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| CPUKernelThreadGlobals::CPUKernelThreadGlobals(const KernelGlobalsCPU &kernel_globals, | CPUKernelThreadGlobals::CPUKernelThreadGlobals(const KernelGlobalsCPU &kernel_globals, | ||||
| void *osl_globals_memory, | void *osl_globals_memory, | ||||
| Profiler &cpu_profiler) | Profiler &cpu_profiler) | ||||
| : KernelGlobalsCPU(kernel_globals), cpu_profiler_(cpu_profiler) | : KernelGlobalsCPU(kernel_globals), cpu_profiler_(cpu_profiler) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines | |||||