compiler: Add Task/Mesh to shader_info

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10600>
This commit is contained in:
Caio Marcelo de Oliveira Filho 2021-04-29 13:48:33 -07:00 committed by Marge Bot
parent 813d41829d
commit 9631d24c3f

View file

@ -458,6 +458,13 @@ typedef struct shader_info {
*/
uint64_t tcs_cross_invocation_outputs_read;
} tess;
/* Applies to MESH. */
struct {
uint16_t max_vertices_out;
uint16_t max_primitives_out;
uint16_t primitive_type; /* GL_POINTS, GL_LINES or GL_TRIANGLES. */
} mesh;
};
} shader_info;