summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2023-10-26 10:29:52 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-10-26 10:32:48 +0000
commit7ad0d7927bcf2bc0fc500d0c7e6c734cfbe01dfb (patch)
tree3eaade37e28d48476658711e1e569bb87ef4c1e4
parent99c164bea8d5ae0c4e710f726469abe0957654c4 (diff)
Add license headers to shader files
These need the same licenses as the code. Pick-to: 6.5 6.2 5.15 Change-Id: Iad59ee3e3cb5f68de92cf6b3b5d8bd4840d4a2ad Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> (cherry picked from commit 702980b8d47e045b28d4e62842a25416f9138226) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/compositor/shaders/surface.vert3
-rw-r--r--src/compositor/shaders/surface_oes_external.frag3
-rw-r--r--src/compositor/shaders/surface_rgba.frag3
-rw-r--r--src/compositor/shaders/surface_rgbx.frag3
-rw-r--r--src/compositor/shaders/surface_y_u_v.frag3
-rw-r--r--src/compositor/shaders/surface_y_uv.frag3
-rw-r--r--src/compositor/shaders/surface_y_xuxv.frag3
7 files changed, 21 insertions, 0 deletions
diff --git a/src/compositor/shaders/surface.vert b/src/compositor/shaders/surface.vert
index 7b891c77d..bd28d9bf8 100644
--- a/src/compositor/shaders/surface.vert
+++ b/src/compositor/shaders/surface.vert
@@ -1,3 +1,6 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
#version 440
layout(location = 0) in vec2 qt_VertexPosition;
diff --git a/src/compositor/shaders/surface_oes_external.frag b/src/compositor/shaders/surface_oes_external.frag
index 1cec856b2..3064bf7b1 100644
--- a/src/compositor/shaders/surface_oes_external.frag
+++ b/src/compositor/shaders/surface_oes_external.frag
@@ -1,3 +1,6 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
// This shader stump cannot be precompiled and is compiled at run-time.
// Appropriate target preamble added when it is loaded.
diff --git a/src/compositor/shaders/surface_rgba.frag b/src/compositor/shaders/surface_rgba.frag
index f6a7732a4..8bb48dc15 100644
--- a/src/compositor/shaders/surface_rgba.frag
+++ b/src/compositor/shaders/surface_rgba.frag
@@ -1,3 +1,6 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
#version 440
layout(location = 0) in vec2 v_texcoord;
diff --git a/src/compositor/shaders/surface_rgbx.frag b/src/compositor/shaders/surface_rgbx.frag
index 37ad3fd21..600c1beae 100644
--- a/src/compositor/shaders/surface_rgbx.frag
+++ b/src/compositor/shaders/surface_rgbx.frag
@@ -1,3 +1,6 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
#version 440
layout(location = 0) in vec2 v_texcoord;
diff --git a/src/compositor/shaders/surface_y_u_v.frag b/src/compositor/shaders/surface_y_u_v.frag
index f8fa1010d..3c14036ef 100644
--- a/src/compositor/shaders/surface_y_u_v.frag
+++ b/src/compositor/shaders/surface_y_u_v.frag
@@ -1,3 +1,6 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
#version 440
layout(location = 0) in vec2 v_texcoord;
diff --git a/src/compositor/shaders/surface_y_uv.frag b/src/compositor/shaders/surface_y_uv.frag
index 107c30009..42b614882 100644
--- a/src/compositor/shaders/surface_y_uv.frag
+++ b/src/compositor/shaders/surface_y_uv.frag
@@ -1,3 +1,6 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
#version 440
layout(location = 0) in vec2 v_texcoord;
diff --git a/src/compositor/shaders/surface_y_xuxv.frag b/src/compositor/shaders/surface_y_xuxv.frag
index cf554db7c..57609f4fd 100644
--- a/src/compositor/shaders/surface_y_xuxv.frag
+++ b/src/compositor/shaders/surface_y_xuxv.frag
@@ -1,3 +1,6 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
#version 440
layout(location = 0) in vec2 v_texcoord;