shader: add distinct mesh shader type

This commit is contained in:
nmzik committed 2026-10-02 00:51:15 +04:00
1 parent 337f432016
commit 11001c97f7
5 files changed
+159 -70

No files matched your search

+1
View File
@@ -88,6 +88,7 @@ struct ShaderMeshInputInfo: ShaderWorkgroupInputInfo {
uint32_t max_vertices = 0;
uint32_t max_primitives = 0;
uint32_t provoking_vertex = 0;
bool fast_launch = false;
[[nodiscard]] constexpr uint32_t InputPrimitiveSize() const {
switch (static_cast<Prospero::PrimitiveType>(input_primitive)) {