Files
test/source/blender/gpu/shaders/gpu_shader_compat.hh
Clément Foucault 50283b9573 GPU: Split GLSL, C++ and metal shader defines
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
2025-09-15 17:22:19 +02:00

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"