Mesa (master): softpipe: Match pipe_context::render_condition prototype.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Tue Jun 13 10:59:31 UTC 2017
Module: Mesa
Branch: master
Commit: f2d71df0cab76b9881a0d2b2749d61e48bdc9483
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2d71df0cab76b9881a0d2b2749d61e48bdc9483
Author: Jose Fonseca <jfonseca at vmware.com>
Date: Tue Jun 13 11:52:16 2017 +0100
softpipe: Match pipe_context::render_condition prototype.
To silence compiler warnings. Trivial.
---
src/gallium/drivers/softpipe/sp_context.c | 8 ++++----
src/gallium/drivers/softpipe/sp_context.h | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c
index a3ebc00016..48f87e6561 100644
--- a/src/gallium/drivers/softpipe/sp_context.c
+++ b/src/gallium/drivers/softpipe/sp_context.c
@@ -178,10 +178,10 @@ softpipe_is_resource_referenced( struct pipe_context *pipe,
static void
-softpipe_render_condition( struct pipe_context *pipe,
- struct pipe_query *query,
- boolean condition,
- uint mode )
+softpipe_render_condition(struct pipe_context *pipe,
+ struct pipe_query *query,
+ boolean condition,
+ enum pipe_render_cond_flag mode)
{
struct softpipe_context *softpipe = softpipe_context( pipe );
diff --git a/src/gallium/drivers/softpipe/sp_context.h b/src/gallium/drivers/softpipe/sp_context.h
index 7ce4dc3560..80aa978ddf 100644
--- a/src/gallium/drivers/softpipe/sp_context.h
+++ b/src/gallium/drivers/softpipe/sp_context.h
@@ -152,7 +152,7 @@ struct softpipe_context {
/** Conditional query object and mode */
struct pipe_query *render_cond_query;
- uint render_cond_mode;
+ enum pipe_render_cond_flag render_cond_mode;
boolean render_cond_cond;
/** Polygon stipple items */
More information about the mesa-commit
mailing list