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
13 lines
358 B
C
13 lines
358 B
C
/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
#pragma once
|
|
|
|
/* Header that can be included wherever image textures are used in the kernel,
|
|
* to make clangd happy. For GPU devices it's defined beforehand. */
|
|
|
|
#ifndef __KERNEL_GPU__
|
|
# include "kernel/device/cpu/image.h" // IWYU pragma: export
|
|
#endif
|