diff options
author | Brian Paul <[email protected]> | 2017-03-05 13:07:28 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-03-08 08:50:20 -0700 |
commit | b0d39384307d979ba85de6c978661e9e58715bec (patch) | |
tree | cd359f83d4e7e140f177a02e6caa648de9b92d61 /src/gallium/drivers/virgl | |
parent | 2b9ab605aabc748dd6171d8dbc1bc0e7d20e1f20 (diff) |
gallium: s/uint/enum pipe_render_cond_flag/ for set_render_condition()
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_encode.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/virgl/virgl_encode.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/virgl/virgl_query.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/virgl/virgl_encode.c b/src/gallium/drivers/virgl/virgl_encode.c index 85843b70094..cbe8d19c9d8 100644 --- a/src/gallium/drivers/virgl/virgl_encode.c +++ b/src/gallium/drivers/virgl/virgl_encode.c @@ -821,7 +821,7 @@ int virgl_encoder_get_query_result(struct virgl_context *ctx, int virgl_encoder_render_condition(struct virgl_context *ctx, uint32_t handle, boolean condition, - uint mode) + enum pipe_render_cond_flag mode) { virgl_encoder_write_cmd_dword(ctx, VIRGL_CMD0(VIRGL_CCMD_SET_RENDER_CONDITION, 0, VIRGL_RENDER_CONDITION_SIZE)); virgl_encoder_write_dword(ctx->cbuf, handle); diff --git a/src/gallium/drivers/virgl/virgl_encode.h b/src/gallium/drivers/virgl/virgl_encode.h index 030bcd6d16e..78d4194683b 100644 --- a/src/gallium/drivers/virgl/virgl_encode.h +++ b/src/gallium/drivers/virgl/virgl_encode.h @@ -236,7 +236,7 @@ int virgl_encoder_get_query_result(struct virgl_context *ctx, int virgl_encoder_render_condition(struct virgl_context *ctx, uint32_t handle, boolean condition, - uint mode); + enum pipe_render_cond_flag mode); int virgl_encoder_set_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id); int virgl_encoder_create_sub_ctx(struct virgl_context *ctx, uint32_t sub_ctx_id); diff --git a/src/gallium/drivers/virgl/virgl_query.c b/src/gallium/drivers/virgl/virgl_query.c index 4ddb925b347..e6ca4609c03 100644 --- a/src/gallium/drivers/virgl/virgl_query.c +++ b/src/gallium/drivers/virgl/virgl_query.c @@ -46,7 +46,7 @@ static inline struct virgl_query *virgl_query(struct pipe_query *q) static void virgl_render_condition(struct pipe_context *ctx, struct pipe_query *q, boolean condition, - uint mode) + enum pipe_render_cond_flag mode) { struct virgl_context *vctx = virgl_context(ctx); struct virgl_query *query = virgl_query(q); |