Files
test/intern/cycles/kernel/globals.h
Brecht Van Lommel 5c46063607 Refactor: Cycles: Make kernel headers work by themselves
Shuffle around some code and add more includes so that individual
header files compile without errors.

Pull Request: https://projects.blender.org/blender/blender/pulls/132361
2025-01-03 10:22:50 +01:00

14 lines
423 B
C

/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
*
* SPDX-License-Identifier: Apache-2.0 */
#pragma once
/* Header that can be included wherever KernelGlobals is used in the kernel,
* to make clangd happy. For GPU devices it's defined beforehand. */
#ifndef __KERNEL_GPU__
# include "kernel/device/cpu/compat.h" // IWYU pragma: export
# include "kernel/device/cpu/globals.h" // IWYU pragma: export
#endif