projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e1ba1d
)
gallium: add vertices_per_patch to draw info
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Mon, 21 Jul 2014 22:43:53 +0000
(18:43 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Sat, 16 May 2015 12:51:15 +0000
(14:51 +0200)
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>
src/gallium/include/pipe/p_state.h
patch
|
blob
|
history
diff --git
a/src/gallium/include/pipe/p_state.h
b/src/gallium/include/pipe/p_state.h
index e713a44c4b44ee6b0ea07eba6cf68b6b9661ddb1..e01c62c09a4e9b35f8c55680868d1104ed8d71c2 100644
(file)
--- 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.
*/