blender/intern/cycles/kernel/image.h
Nikita Sirgienko bf9bf7305c Cycles: oneAPI: Introduce non-default software texturing path
Some Intel devices, such as the Intel(R) Data Center GPU Max 1550, do
not support hardware image sampling. Since [2bab4ae370](2bab4ae370)
made the GPU hardware sampler mandatory, these devices are no
longer supported.

This change adds a non-default software texturing path, so users
with such hardware can run Cycles on it using their own build,
their own build, configured with
WITH_CYCLES_ONEAPI_SOFTWARE_TEXTURING=ON.

Pull Request: https://projects.blender.org/blender/blender/pulls/164768
2026-10-07 17:11:00 +02:00

15 lines
434 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/compat.h"
# include "kernel/device/cpu/globals.h"
# include "kernel/util/image.h" // IWYU pragma: export
#endif