[Mesa-dev] [PATCH 07/19] gallium: add patch_vertices to draw info
Ilia Mirkin
imirkin at alum.mit.edu
Sat May 2 13:16:31 PDT 2015
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/gallium/include/pipe/p_state.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index e713a44..449c7f1 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 patch_vertices; /**< the number of vertices per patch */
+
/**
* For indexed drawing, these fields apply after index lookup.
*/
--
2.0.5
More information about the mesa-dev
mailing list