Skip to content

Commit

Permalink
Add limits for mesh shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
unneon committed Mar 1, 2024
1 parent 6e621ad commit 160024f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions shaderc-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,25 @@ pub enum Limit {
MaxCullDistances,
MaxCombinedClipAndCullDistances,
MaxSamples,
MaxMeshOutputVerticesNv,
MaxMeshOutputPrimitivesNv,
MaxMeshWorkGroupSizeXNv,
MaxMeshWorkGroupSizeYNv,
MaxMeshWorkGroupSizeZNv,
MaxTaskWorkGroupSizeXNv,
MaxTaskWorkGroupSizeYNv,
MaxTaskWorkGroupSizeZNv,
MaxMeshViewCountNv,
MaxMeshOutputVerticesExt,
MaxMeshOutputPrimitivesExt,
MaxMeshWorkGroupSizeXExt,
MaxMeshWorkGroupSizeYExt,
MaxMeshWorkGroupSizeZExt,
MaxTaskWorkGroupSizeXExt,
MaxTaskWorkGroupSizeYExt,
MaxTaskWorkGroupSizeZExt,
MaxMeshViewCountExt,
MaxDualSourceDrawBuffersExt,
}

/// An opaque object managing all compiler states.
Expand Down

0 comments on commit 160024f

Please sign in to comment.