shader: Implement tessellation shaders, polygon mode and invocation id
This commit is contained in:
parent
34519d3fc6
commit
183855e396
28 changed files with 605 additions and 91 deletions
|
@ -38,6 +38,18 @@ enum class CompareFunction {
|
|||
Always,
|
||||
};
|
||||
|
||||
enum class TessPrimitive {
|
||||
Isolines,
|
||||
Triangles,
|
||||
Quads,
|
||||
};
|
||||
|
||||
enum class TessSpacing {
|
||||
Equal,
|
||||
FractionalOdd,
|
||||
FractionalEven,
|
||||
};
|
||||
|
||||
struct TransformFeedbackVarying {
|
||||
u32 buffer{};
|
||||
u32 stride{};
|
||||
|
@ -74,6 +86,10 @@ struct Profile {
|
|||
bool convert_depth_mode{};
|
||||
bool force_early_z{};
|
||||
|
||||
TessPrimitive tess_primitive{};
|
||||
TessSpacing tess_spacing{};
|
||||
bool tess_clockwise{};
|
||||
|
||||
InputTopology input_topology{};
|
||||
|
||||
std::optional<float> fixed_state_point_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue