aboutsummaryrefslogtreecommitdiff
path: root/assets/shaders/vk_pipeline_test.slang
diff options
context:
space:
mode:
Diffstat (limited to 'assets/shaders/vk_pipeline_test.slang')
-rw-r--r--assets/shaders/vk_pipeline_test.slang10
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)