Skip to content

Commit

Permalink
add VertexPixel helper to ShaderStage
Browse files Browse the repository at this point in the history
  • Loading branch information
aquagoose committed Jul 28, 2024
1 parent 9d09261 commit e346a49
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/grabs.Graphics/ShaderStage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit e346a49

Please sign in to comment.