On Sat, 02 May 2015 22:16:31 +0200, Ilia Mirkin <imir...@alum.mit.edu> wrote:

Signed-off-by: Ilia Mirkin <imir...@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 */
+

patch_vertex_count, this field isn't the actual patch vertices data
Don't forget to update patch 10 with the name

    /**
     * For indexed drawing, these fields apply after index lookup.
     */

With above fixed,
Reviewed-by: Glenn Kennard <glenn.kenn...@gmail.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to