From 3fd33ecff7472e4d6fc9e6b3905f56982e497ef2 Mon Sep 17 00:00:00 2001 From: hachem Date: Sun, 23 Aug 2026 17:21:37 +0200 Subject: [feat]: complete RHI api --- assets/shaders/TexturedQuad.slang | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 assets/shaders/TexturedQuad.slang (limited to 'assets/shaders/TexturedQuad.slang') diff --git a/assets/shaders/TexturedQuad.slang b/assets/shaders/TexturedQuad.slang deleted file mode 100644 index 52d46ed..0000000 --- a/assets/shaders/TexturedQuad.slang +++ /dev/null @@ -1,28 +0,0 @@ -struct VSInput -{ - float2 position : POSITION; - float2 texCoord : TEXCOORD0; -}; - -struct VSOutput -{ - float4 position : SV_Position; - float2 texCoord : TEXCOORD0; -}; - -[shader("vertex")] -VSOutput vertexMain(VSInput input) -{ - VSOutput output; - output.position = float4(input.position, 0.0, 1.0); - output.texCoord = input.texCoord; - return output; -} - -Sampler2D u_ScreenTexture; - -[shader("fragment")] -float4 fragmentMain(VSOutput input) : SV_Target -{ - return u_ScreenTexture.Sample(input.texCoord); -} -- cgit v1.3