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/auxiliary/cso_cache | |
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/auxiliary/cso_cache')
-rw-r--r-- | src/gallium/auxiliary/cso_cache/cso_context.c | 3 | ||||
-rw-r--r-- | src/gallium/auxiliary/cso_cache/cso_context.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c index d033ed380e9..3d3c44cf81a 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.c +++ b/src/gallium/auxiliary/cso_cache/cso_context.c @@ -852,7 +852,8 @@ cso_restore_stencil_ref(struct cso_context *ctx) void cso_set_render_condition(struct cso_context *ctx, struct pipe_query *query, - boolean condition, uint mode) + boolean condition, + enum pipe_render_cond_flag mode) { struct pipe_context *pipe = ctx->pipe; diff --git a/src/gallium/auxiliary/cso_cache/cso_context.h b/src/gallium/auxiliary/cso_cache/cso_context.h index 56b1f827577..742bbb516f1 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.h +++ b/src/gallium/auxiliary/cso_cache/cso_context.h @@ -150,7 +150,8 @@ void cso_set_stencil_ref(struct cso_context *cso, void cso_set_render_condition(struct cso_context *cso, struct pipe_query *query, - boolean condition, uint mode); + boolean condition, + enum pipe_render_cond_flag mode); #define CSO_BIT_AUX_VERTEX_BUFFER_SLOT 0x1 |