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

Author: Ilia Mirkin <[email protected]>
Date:   Mon Jul 21 18:43:53 2014 -0400

gallium: add vertices_per_patch to draw info

Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>

---

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

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to