Files
test2/intern/cycles/kernel/image.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

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