From e346a49f549c0b5a0c772c557122d60a92c9494a Mon Sep 17 00:00:00 2001 From: ollie Date: Mon, 29 Jul 2024 00:13:55 +0100 Subject: [PATCH] add VertexPixel helper to ShaderStage --- src/grabs.Graphics/ShaderStage.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/grabs.Graphics/ShaderStage.cs b/src/grabs.Graphics/ShaderStage.cs index 4fefa22..64413e6 100644 --- a/src/grabs.Graphics/ShaderStage.cs +++ b/src/grabs.Graphics/ShaderStage.cs @@ -5,10 +5,11 @@ namespace grabs.Graphics; [Flags] public enum ShaderStage { - Vertex = 1, - Pixel = 1 << 2, - Compute = 1 << 3, + Vertex = 1 << 0, + Pixel = 1 << 1, + Compute = 1 << 2, // TODO: Tessellation shaders + VertexPixel = Vertex | Pixel, All = Vertex | Pixel | Compute } \ No newline at end of file