shader: Implement geometry shaders
This commit is contained in:
parent
a6cef71cc0
commit
f263760c5a
14 changed files with 277 additions and 91 deletions
|
@ -18,6 +18,14 @@ enum class AttributeType : u8 {
|
|||
Disabled,
|
||||
};
|
||||
|
||||
enum class InputTopology {
|
||||
Points,
|
||||
Lines,
|
||||
LinesAdjacency,
|
||||
Triangles,
|
||||
TrianglesAdjacency,
|
||||
};
|
||||
|
||||
struct Profile {
|
||||
u32 supported_spirv{0x00010000};
|
||||
|
||||
|
@ -46,6 +54,8 @@ struct Profile {
|
|||
std::array<AttributeType, 32> generic_input_types{};
|
||||
bool convert_depth_mode{};
|
||||
|
||||
InputTopology input_topology{};
|
||||
|
||||
std::optional<float> fixed_state_point_size;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue