projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a25ae48
)
gallium: change pipe_draw_info::mode to be pipe_prim_type
author
Brian Paul
<brianp@vmware.com>
Thu, 26 May 2016 13:17:50 +0000
(07:17 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 26 May 2016 23:44:18 +0000
(17:44 -0600)
Makes debugging with gdb a little nicer.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.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 eacf9bbe68b27efdaf6de8bd1faf6d2b330a6c8d..396f563bd79b3a744bc50541654ef29ea9ea8996 100644
(file)
--- a/
src/gallium/include/pipe/p_state.h
+++ b/
src/gallium/include/pipe/p_state.h
@@
-617,7
+617,7
@@
struct pipe_draw_info
{
boolean indexed; /**< use index buffer */
-
unsigned
mode; /**< the mode of the primitive */
+
enum pipe_prim_type
mode; /**< the mode of the primitive */
unsigned start; /**< the index of the first vertex */
unsigned count; /**< number of vertices */