Add statically disabled tessellation on macOS/iOS
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user