diff options
author | Ilia Mirkin <[email protected]> | 2014-07-21 18:43:53 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-05-16 14:51:15 +0200 |
commit | 4dbfe6b6274760412cf4ea8e6a910874ca12d998 (patch) | |
tree | 2bdbd8596af6a1a265901aa98e13c8c2a8379b57 | |
parent | 9e1ba1d6895ff1a80fe676e153799695653cfb2a (diff) |
gallium: add vertices_per_patch to draw info
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
-rw-r--r-- | src/gallium/include/pipe/p_state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index e713a44c4b4..e01c62c09a4 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -543,6 +543,8 @@ struct pipe_draw_info unsigned start_instance; /**< first instance id */ unsigned instance_count; /**< number of instances */ + unsigned vertices_per_patch; /**< the number of vertices per patch */ + /** * For indexed drawing, these fields apply after index lookup. */ |