diff options
| author | hachem <im@hachem.wtf> | 2026-08-24 17:07:54 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-24 17:07:54 +0200 |
| commit | 06398a7a176e123506de6e8851866a8bec0b3427 (patch) | |
| tree | 7167ef4818f2c224840122961882efb5ec26c80b /assets/shaders/vk_pipeline_test.slang | |
| parent | 1c85c2ecaa826afd8bf80f93741cf1b2deba5798 (diff) | |
[chore]: cleanup shaders
Diffstat (limited to 'assets/shaders/vk_pipeline_test.slang')
| -rw-r--r-- | assets/shaders/vk_pipeline_test.slang | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/assets/shaders/vk_pipeline_test.slang b/assets/shaders/vk_pipeline_test.slang index f4d1897..453fcd3 100644 --- a/assets/shaders/vk_pipeline_test.slang +++ b/assets/shaders/vk_pipeline_test.slang @@ -1,12 +1,8 @@ // 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. +// 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; -}; +struct VSOutput { float4 position : SV_Position; float3 color : COLOR0; }; [shader("vertex")] VSOutput vertexMain(uint vid : SV_VertexID) |
