From 040e4cb7e454d532d249d2a5de6f2aba0c902baa Mon Sep 17 00:00:00 2001 From: assiduous Date: Tue, 24 Dec 2019 19:23:32 -0800 Subject: Updated submodules; removed tests folder (tests are now part of every submodule) --- Tests/TestApp/assets/Shaders/TextureIntTestDX.psh | 28 ----------------------- 1 file changed, 28 deletions(-) delete mode 100644 Tests/TestApp/assets/Shaders/TextureIntTestDX.psh (limited to 'Tests/TestApp/assets/Shaders/TextureIntTestDX.psh') diff --git a/Tests/TestApp/assets/Shaders/TextureIntTestDX.psh b/Tests/TestApp/assets/Shaders/TextureIntTestDX.psh deleted file mode 100644 index 4dfc67f..0000000 --- a/Tests/TestApp/assets/Shaders/TextureIntTestDX.psh +++ /dev/null @@ -1,28 +0,0 @@ - -Texture2D g_tex2DTest : register(t4); - -struct VSOut -{ - float4 f4Position : SV_Position; - float2 f2UV : UV; -}; - - -float4 main(VSOut In) : SV_Target -{ - float Width, Height; - g_tex2DTest.GetDimensions(Width, Height); - float2 IJ = In.f2UV * float2(Width, Height); - float4 Color0 = g_tex2DTest.Load( int3(IJ, 0) ) / 127.f; - float4 Color1 = g_tex2DTest.Load( int3(IJ/4, 2) ) / 127.f; - float4 Color2 = g_tex2DTest.Load( int3(IJ/16, 4) ) / 127.f; - float4 Color3 = g_tex2DTest.Load( int3(IJ/32, 5) ) / 127.f; - if( In.f2UV.x < 0.5 && In.f2UV.y < 0.5 ) - return Color0; - else if( In.f2UV.x > 0.5 && In.f2UV.y < 0.5 ) - return Color1; - else if( In.f2UV.x < 0.5 && In.f2UV.y > 0.5 ) - return Color2; - else - return Color3; -} -- cgit v1.2.3