Add statically disabled tessellation on macOS/iOS

This commit is contained in:
Wojtek Figat
2024-03-30 18:46:37 +01:00
parent ce07edd1ec
commit 369c19bd5d
14 changed files with 51 additions and 20 deletions

View File

@@ -25,21 +25,23 @@ namespace DescriptorSet
enum Stage
{
// Vertex shader stage
Vertex = 0,
Vertex,
// Pixel shader stage
Pixel = 1,
Pixel,
// Geometry shader stage
Geometry = 2,
Geometry,
#if GPU_ALLOW_TESSELLATION_SHADERS
// Hull shader stage
Hull = 3,
Hull,
// Domain shader stage
Domain = 4,
Domain,
#endif
// Graphics pipeline stages count
GraphicsStagesCount = 5,
GraphicsStagesCount,
// Compute pipeline slot
Compute = 0,
// The maximum amount of slots for all stages
Max = 5,
Max = GraphicsStagesCount,
};
template<typename T>