summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/assets/Shaders/TextureTestGL.psh
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2019-12-25 03:23:32 +0000
committerassiduous <assiduous@diligentgraphics.com>2019-12-25 03:23:32 +0000
commit040e4cb7e454d532d249d2a5de6f2aba0c902baa (patch)
treec89a3a009e2d145c3c3cfdb053ad7392eedf6d98 /Tests/TestApp/assets/Shaders/TextureTestGL.psh
parentAdded codacy bages (diff)
downloadDiligentEngine-040e4cb7e454d532d249d2a5de6f2aba0c902baa.tar.gz
DiligentEngine-040e4cb7e454d532d249d2a5de6f2aba0c902baa.zip
Updated submodules; removed tests folder (tests are now part of every submodule)
Diffstat (limited to 'Tests/TestApp/assets/Shaders/TextureTestGL.psh')
-rw-r--r--Tests/TestApp/assets/Shaders/TextureTestGL.psh22
1 files changed, 0 insertions, 22 deletions
diff --git a/Tests/TestApp/assets/Shaders/TextureTestGL.psh b/Tests/TestApp/assets/Shaders/TextureTestGL.psh
deleted file mode 100644
index 3f84f11..0000000
--- a/Tests/TestApp/assets/Shaders/TextureTestGL.psh
+++ /dev/null
@@ -1,22 +0,0 @@
-// Fragment Shader – file "minimal.frag"
-
-layout(location = 1)in vec2 in_UV;
-uniform sampler2D g_tex2DTest;
-
-layout(location = 0) out vec4 out_Color;
-
-void main(void)
-{
- vec4 Color0 = textureLod(g_tex2DTest, in_UV, 0.0);
- vec4 Color1 = textureLod(g_tex2DTest, in_UV, 2.0);
- vec4 Color2 = textureLod(g_tex2DTest, in_UV, 4.0);
- vec4 Color3 = textureLod(g_tex2DTest, in_UV, 5.0);
- if( in_UV.x < 0.5 && in_UV.y < 0.5 )
- out_Color = Color0;
- else if( in_UV.x > 0.5 && in_UV.y < 0.5 )
- out_Color = Color1;
- else if( in_UV.x < 0.5 && in_UV.y > 0.5 )
- out_Color = Color2;
- else
- out_Color = Color3;
-}