Allow compilation of shaders using C++ for linting and IDE support. Related #127983 Pull Request: https://projects.blender.org/blender/blender/pulls/128724
12 lines
270 B
GLSL
12 lines
270 B
GLSL
/* SPDX-FileCopyrightText: 2016-2022 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#include "infos/gpu_shader_3D_depth_only_info.hh"
|
|
|
|
void main()
|
|
{
|
|
/* No color output, only depth (line below is implicit). */
|
|
// gl_FragDepth = gl_FragCoord.z;
|
|
}
|