From: Ilia Mirkin Date: Mon, 21 Jul 2014 22:43:53 +0000 (-0400) Subject: gallium: add vertices_per_patch to draw info X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4dbfe6b6274760412cf4ea8e6a910874ca12d998;p=mesa.git gallium: add vertices_per_patch to draw info Signed-off-by: Ilia Mirkin Reviewed-by: Roland Scheidegger Signed-off-by: Marek Olšák --- 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. */