mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
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:
parent
813d41829d
commit
9631d24c3f
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue