License headers: use SPDX-FileCopyrightText in intern/cycles

This commit is contained in:
Campbell Barton
2023-06-14 16:52:36 +10:00
parent 4b8434fabd
commit c12994612b
740 changed files with 2346 additions and 1600 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
# Standalone or with Blender
if(NOT WITH_BLENDER)
+2 -1
View File
@@ -1,5 +1,6 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
#####################################################################
# Cycles standalone executable
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include <stdio.h>
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include <stdio.h>
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __CYCLES_XML_H__
#define __CYCLES_XML_H__
+2 -1
View File
@@ -1,5 +1,6 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
# XML exporter for generating test files, not intended for end users
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2021-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2021-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "app/oiio_output_driver.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2021-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2021-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "session/output_driver.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "app/opengl/display_driver.h"
#include "app/opengl/shader.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "app/opengl/shader.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 OpenGL Foundation */
/* SPDX-FileCopyrightText: 2011-2022 OpenGL Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include <stdio.h>
#include <stdlib.h>
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __CCL_API_H__
#define __CCL_API_H__
+2 -1
View File
@@ -1,5 +1,6 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
set(INC
..
+3 -1
View File
@@ -1,5 +1,7 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
from __future__ import annotations
bl_info = {
+2 -1
View File
@@ -1,5 +1,6 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
# Fit to match default projective camera with focal_length 50 and sensor_width 36.
default_fisheye_polynomial = [
+3 -1
View File
@@ -1,5 +1,7 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
from __future__ import annotations
+3 -1
View File
@@ -1,5 +1,7 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
from __future__ import annotations
import bpy
+3 -1
View File
@@ -1,5 +1,7 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
from __future__ import annotations
import bpy
+3 -1
View File
@@ -1,5 +1,7 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
from __future__ import annotations
from bl_operators.presets import AddPresetBase
+3 -1
View File
@@ -1,5 +1,7 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
from __future__ import annotations
import bpy
+3 -1
View File
@@ -1,5 +1,7 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
from __future__ import annotations
import bpy
@@ -1,5 +1,7 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
from __future__ import annotations
import bpy
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "scene/camera.h"
#include "scene/bake.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include <optional>
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "blender/device.h"
#include "blender/session.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BLENDER_DEVICE_H__
#define __BLENDER_DEVICE_H__
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2021-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2021-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "GPU_context.h"
#include "GPU_immediate.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2021-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2021-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "scene/curves.h"
#include "scene/hair.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BLENDER_ID_MAP_H__
#define __BLENDER_ID_MAP_H__
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "MEM_guardedalloc.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BLENDER_IMAGE_H__
#define __BLENDER_IMAGE_H__
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "scene/light.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2023 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2023 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "blender/light_linking.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2023 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2023 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "blender/CCL_api.h"
#include "util/log.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include <optional>
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "blender/light_linking.h"
#include "blender/object_cull.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include <cstdlib>
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BLENDER_OBJECT_CULL_H__
#define __BLENDER_OBJECT_CULL_H__
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2021-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2021-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "blender/output_driver.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2021-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2021-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "scene/particles.h"
#include "scene/mesh.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include <optional>
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include <Python.h>
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include <stdlib.h>
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BLENDER_SESSION_H__
#define __BLENDER_SESSION_H__
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "scene/shader.h"
#include "scene/background.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "scene/background.h"
#include "scene/camera.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BLENDER_SYNC_H__
#define __BLENDER_SYNC_H__
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "blender/texture.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BLENDER_TEXTURE_H__
#define __BLENDER_TEXTURE_H__
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BLENDER_UTIL_H__
#define __BLENDER_UTIL_H__
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2019-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2019-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "blender/viewport.h"
#include "blender/util.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2019-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2019-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BLENDER_VIEWPORT_H__
#define __BLENDER_VIEWPORT_H__
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "scene/volume.h"
#include "scene/colorspace.h"
+2 -1
View File
@@ -1,5 +1,6 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
set(INC
..
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2011 Intel Corporation
* Modifications Copyright 2012-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2011 Intel Corporation
* SPDX-FileCopyrightText: 2012-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from Intel Corporation. */
//#define __KERNEL_SSE__
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2011 Intel Corporation
* Modifications Copyright 2012-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2011 Intel Corporation
* SPDX-FileCopyrightText: 2012-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from Intel Corporation. */
#ifndef __BVH_BINNING_H__
#define __BVH_BINNING_H__
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2010 NVIDIA Corporation
* Modifications Copyright 2011-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2010 NVIDIA Corporation
* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from NVIDIA Corporation. */
#include "bvh/build.h"
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2010 NVIDIA Corporation
* Modifications Copyright 2011-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2010 NVIDIA Corporation
* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from NVIDIA Corporation. */
#ifndef __BVH_BUILD_H__
#define __BVH_BUILD_H__
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2010 NVIDIA Corporation
* Modifications Copyright 2011-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2010 NVIDIA Corporation
* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from NVIDIA Corporation. */
#include "bvh/bvh.h"
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2010 NVIDIA Corporation
* Modifications Copyright 2011-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2010 NVIDIA Corporation
* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from NVIDIA Corporation. */
#ifndef __BVH_H__
#define __BVH_H__
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2010 NVIDIA Corporation
* Modifications Copyright 2011-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2010 NVIDIA Corporation
* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from NVIDIA Corporation. */
#include "bvh/bvh2.h"
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2010 NVIDIA Corporation
* Modifications Copyright 2011-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2010 NVIDIA Corporation
* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from NVIDIA Corporation. */
#ifndef __BVH2_H__
#define __BVH2_H__
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2018-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2018-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
/* This class implements a ray accelerator for Cycles using Intel's Embree library.
* It supports triangles, curves, object and deformation blur and instancing.
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2018-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2018-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BVH_EMBREE_H__
#define __BVH_EMBREE_H__
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2023 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2023 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifdef WITH_HIPRT
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2023 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2023 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifdef WITH_HIPRT
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2021-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2021-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BVH_METAL_H__
#define __BVH_METAL_H__
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2021-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2021-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifdef WITH_METAL
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2020-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2020-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "bvh/multi.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2020-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2020-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BVH_MULTI_H__
#define __BVH_MULTI_H__
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2010 NVIDIA Corporation
* Modifications Copyright 2011-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2010 NVIDIA Corporation
* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from NVIDIA Corporation. */
#include "bvh/node.h"
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2010 NVIDIA Corporation
* Modifications Copyright 2011-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2010 NVIDIA Corporation
* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from NVIDIA Corporation. */
#ifndef __BVH_NODE_H__
#define __BVH_NODE_H__
+4 -3
View File
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2019, NVIDIA Corporation.
* Copyright 2019-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2019 NVIDIA Corporation
* SPDX-FileCopyrightText: 2019-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifdef WITH_OPTIX
+4 -3
View File
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2019, NVIDIA Corporation.
* Copyright 2019-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2019 NVIDIA Corporation
* SPDX-FileCopyrightText: 2019-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BVH_OPTIX_H__
#define __BVH_OPTIX_H__
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2010 NVIDIA Corporation
* Modifications Copyright 2011-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2010 NVIDIA Corporation
* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from NVIDIA Corporation. */
#ifndef __BVH_PARAMS_H__
#define __BVH_PARAMS_H__
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2010 NVIDIA Corporation
* Modifications Copyright 2011-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2010 NVIDIA Corporation
* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from NVIDIA Corporation. */
#include "bvh/sort.h"
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2010 NVIDIA Corporation
* Modifications Copyright 2011-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2010 NVIDIA Corporation
* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from NVIDIA Corporation. */
#ifndef __BVH_SORT_H__
#define __BVH_SORT_H__
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2010 NVIDIA Corporation
* Modifications Copyright 2011-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2010 NVIDIA Corporation
* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from NVIDIA Corporation. */
#include "bvh/split.h"
+6 -3
View File
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: Apache-2.0
* Adapted from code copyright 2009-2010 NVIDIA Corporation
* Modifications Copyright 2011-2022 Blender Foundation. */
/* SPDX-FileCopyrightText: 2009-2010 NVIDIA Corporation
* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0
*
* Adapted code from NVIDIA Corporation. */
#ifndef __BVH_SPLIT_H__
#define __BVH_SPLIT_H__
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "bvh/unaligned.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#ifndef __BVH_UNALIGNED_H__
#define __BVH_UNALIGNED_H__
+2 -1
View File
@@ -1,5 +1,6 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
###########################################################################
# SDL
+2 -1
View File
@@ -1,5 +1,6 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
function(cycles_set_solution_folder target)
if(IDE_GROUP_PROJECTS_IN_FOLDERS)
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include <isa_availability.h>
#include <stdio.h>
+2 -1
View File
@@ -1,5 +1,6 @@
# SPDX-FileCopyrightText: 2011-2022 Blender Foundation
#
# SPDX-License-Identifier: Apache-2.0
# Copyright 2011-2022 Blender Foundation
set(INC
..
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "device/cpu/device.h"
#include "device/cpu/device_impl.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "device/cpu/device_impl.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "device/cpu/kernel.h"
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once
+3 -2
View File
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#include "device/cpu/kernel_thread_globals.h"
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2022 Blender Foundation */
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once

Some files were not shown because too many files have changed in this diff Show More