Blender V5.0
cycles/kernel/image.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011-2022 Blender Foundation
2 *
3 * SPDX-License-Identifier: Apache-2.0 */
4
5#pragma once
6
7/* Header that can be included wherever image textures are used in the kernel,
8 * to make clangd happy. For GPU devices it's defined beforehand. */
9
10#ifndef __KERNEL_GPU__
11# include "kernel/device/cpu/image.h" // IWYU pragma: export
12#endif