This makes all the defines and boiler plate code use the generated source include system. This makes source hierarchy more understandable. Pull Request: https://projects.blender.org/blender/blender/pulls/146289
19 lines
565 B
C++
19 lines
565 B
C++
/* SPDX-FileCopyrightText: 2024 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/**
|
|
* Implementation of basic shading language functions (types, builtin functions, etc...).
|
|
*
|
|
* Each backend will replace it with its own implementation at runtime.
|
|
*/
|
|
|
|
#pragma once
|
|
/* This file must replaced at runtime. The following content is only a possible implementation. */
|
|
#pragma runtime_generated
|
|
|
|
#include "gpu_shader_compat_cxx.hh"
|
|
/* Other possible implementation. */
|
|
// #include "gpu_shader_compat_glsl.hh"
|
|
// #include "gpu_shader_compat_msl.hh"
|