diff options
| author | hachem <im@hachem.wtf> | 2026-08-20 02:59:35 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-20 02:59:35 +0200 |
| commit | 8791a887624ba6503a8dca1d50bb0b990c2b2b9c (patch) | |
| tree | d08c9524f675c074036cd5e23cdb1e9820ca4cb2 /Assets/Shaders/VkPipelineTest.slang | |
| parent | 5b361d81dbd2af0d0e99b9eb1adebea76ff05db0 (diff) | |
[chore]: delete dirs
Diffstat (limited to 'Assets/Shaders/VkPipelineTest.slang')
| -rw-r--r-- | Assets/Shaders/VkPipelineTest.slang | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Assets/Shaders/VkPipelineTest.slang b/Assets/Shaders/VkPipelineTest.slang deleted file mode 100644 index f4d1897..0000000 --- a/Assets/Shaders/VkPipelineTest.slang +++ /dev/null @@ -1,25 +0,0 @@ -// Minimal shader used only to verify the Vulkan graphics-pipeline path (SPIR-V -// module -> pipeline -> draw -> read-back). Draws a full-screen gradient -// triangle from the vertex id, so it needs no vertex buffer, UBO, or sampler. - -struct VSOutput -{ - float4 position : SV_Position; - float3 color : COLOR0; -}; - -[shader("vertex")] -VSOutput vertexMain(uint vid : SV_VertexID) -{ - float2 p = float2(float((vid << 1) & 2), float(vid & 2)); - VSOutput output; - output.position = float4(p * 2.0 - 1.0, 0.0, 1.0); - output.color = float3(p, 0.5); - return output; -} - -[shader("fragment")] -float4 fragmentMain(VSOutput input) : SV_Target -{ - return float4(input.color, 1.0); -} |
