aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/scenegraph_lancelot/data/shared/shaders/cmyk_rhi.frag
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/scenegraph_lancelot/data/shared/shaders/cmyk_rhi.frag')
-rw-r--r--tests/manual/scenegraph_lancelot/data/shared/shaders/cmyk_rhi.frag18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/manual/scenegraph_lancelot/data/shared/shaders/cmyk_rhi.frag b/tests/manual/scenegraph_lancelot/data/shared/shaders/cmyk_rhi.frag
deleted file mode 100644
index 5d528e1d7a..0000000000
--- a/tests/manual/scenegraph_lancelot/data/shared/shaders/cmyk_rhi.frag
+++ /dev/null
@@ -1,18 +0,0 @@
-#version 440
-
-layout(location = 0) in vec2 qt_TexCoord0;
-layout(location = 0) out vec4 fragColor;
-
-layout(binding = 1) uniform sampler2D cyan;
-layout(binding = 2) uniform sampler2D magenta;
-layout(binding = 3) uniform sampler2D yellow;
-layout(binding = 4) uniform sampler2D black;
-
-void main() {
- vec2 t = qt_TexCoord0 * 3. - 1.;
- lowp float c = texture(cyan, t + vec2(.05, .09)).a;
- lowp float m = texture(magenta, t + vec2(.04, -.10)).a;
- lowp float y = texture(yellow, t + vec2(-.10, .01)).a;
- lowp float k = texture(black, t).a;
- fragColor = 1. - vec4(c + k, m + k, y + k, 0.);
-}