Mesa (master): gallium: change pipe_draw_info::mode to be pipe_prim_type
Brian Paul
brianp at kemper.freedesktop.org
Thu May 26 23:56:01 UTC 2016
Module: Mesa
Branch: master
Commit: 46be65c681b251beced67abfabbb86117b589d44
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=46be65c681b251beced67abfabbb86117b589d44
Author: Brian Paul <brianp at vmware.com>
Date: Thu May 26 07:17:50 2016 -0600
gallium: change pipe_draw_info::mode to be pipe_prim_type
Makes debugging with gdb a little nicer.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
---
src/gallium/include/pipe/p_state.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index eacf9bb..396f563 100644
--- 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 */
More information about the mesa-commit
mailing list