summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2014-07-21 18:43:53 -0400
committerMarek Olšák <marek.olsak@amd.com>2015-05-16 14:51:15 +0200
commit4dbfe6b6274760412cf4ea8e6a910874ca12d998 (patch)
tree2bdbd8596af6a1a265901aa98e13c8c2a8379b57 /src/gallium/include
parent9e1ba1d6895ff1a80fe676e153799695653cfb2a (diff)
downloadexternal_mesa3d-4dbfe6b6274760412cf4ea8e6a910874ca12d998.zip
external_mesa3d-4dbfe6b6274760412cf4ea8e6a910874ca12d998.tar.gz
external_mesa3d-4dbfe6b6274760412cf4ea8e6a910874ca12d998.tar.bz2
gallium: add vertices_per_patch to draw info
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_state.h2
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 e713a44..e01c62c 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.
*/