A lot of files were missing copyright field in the header and
the Blender Foundation contributed to them in a sense of bug
fixing and general maintenance.
This change makes it explicit that those files are at least
partially copyrighted by the Blender Foundation.
Note that this does not make it so the Blender Foundation is
the only holder of the copyright in those files, and developers
who do not have a signed contract with the foundation still
hold the copyright as well.
Another aspect of this change is using SPDX format for the
header. We already used it for the license specification,
and now we state it for the copyright as well, following the
FAQ:
https://reuse.software/faq/
33 lines
719 B
C++
33 lines
719 B
C++
/* SPDX-FileCopyrightText: 2021 Blender Foundation
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup gpu
|
|
*
|
|
* Descriptor type used to define shader structure, resources and interfaces.
|
|
*
|
|
* Some rule of thumb:
|
|
* - Do not include anything else than this file in each descriptor file.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "GPU_shader.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void gpu_shader_create_info_init(void);
|
|
void gpu_shader_create_info_exit(void);
|
|
|
|
bool gpu_shader_create_info_compile_all(void);
|
|
|
|
/** Runtime create infos are not registered in the dictionary and cannot be searched. */
|
|
const GPUShaderCreateInfo *gpu_shader_create_info_get(const char *info_name);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|