License headers: add SPDX headers

This commit is contained in:
Campbell Barton
2023-12-10 16:35:15 +11:00
parent ded36920d7
commit 21525b4ea6
2 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
void main()
{
vec2 texture_size = vec2(textureSize(metallic_tx, 0));
@@ -20,4 +24,4 @@ void main()
/* Ensure balls are on top of overlays. */
gl_FragDepth = 0.0;
}
}

View File

@@ -1,3 +1,7 @@
/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
void main()
{
uint vert_index = gl_VertexID < 3 ? gl_VertexID : gl_VertexID - 2;
@@ -18,4 +22,4 @@ void main()
0.0);
vec2 co = uv * sphere_size + offset;
gl_Position = vec4(co, 0.0, 1.0);
}
}