Mesa (master): gallium: add vertices_per_patch to draw info

Marek Olšák mareko at kemper.freedesktop.org
Sat May 16 13:17:59 UTC 2015


Module: Mesa
Branch: master
Commit: 4dbfe6b6274760412cf4ea8e6a910874ca12d998
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4dbfe6b6274760412cf4ea8e6a910874ca12d998

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Mon Jul 21 18:43:53 2014 -0400

gallium: add vertices_per_patch to draw info

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>

---

 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..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.
     */




More information about the mesa-commit mailing list