diff options
author | Andreas Hartmetz <[email protected]> | 2014-01-11 15:47:07 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-01-14 00:07:13 +0100 |
commit | 238aeabce0e5cfd850279a68fe0c816adc175294 (patch) | |
tree | 46c567d9cf151fbf88bbd6c10c6453eaba8ce2fc /src/gallium/drivers/radeonsi/si_query.c | |
parent | 786af2f963925df2c2a6fb60b29a83e8340f03c7 (diff) |
radeonsi: Rename r600->si for structs in si_pipe.h.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_query.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_query.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/drivers/radeonsi/si_query.c b/src/gallium/drivers/radeonsi/si_query.c index 2f23d0881de..dd6aff6ef9f 100644 --- a/src/gallium/drivers/radeonsi/si_query.c +++ b/src/gallium/drivers/radeonsi/si_query.c @@ -25,21 +25,21 @@ static struct pipe_query *r600_create_query(struct pipe_context *ctx, unsigned query_type) { - struct r600_context *rctx = (struct r600_context *)ctx; + struct si_context *rctx = (struct si_context *)ctx; return (struct pipe_query*)r600_context_query_create(rctx, query_type); } static void r600_destroy_query(struct pipe_context *ctx, struct pipe_query *query) { - struct r600_context *rctx = (struct r600_context *)ctx; + struct si_context *rctx = (struct si_context *)ctx; r600_context_query_destroy(rctx, (struct r600_query *)query); } static void r600_begin_query(struct pipe_context *ctx, struct pipe_query *query) { - struct r600_context *rctx = (struct r600_context *)ctx; + struct si_context *rctx = (struct si_context *)ctx; struct r600_query *rquery = (struct r600_query *)query; if (!si_query_needs_begin(rquery->type)) { @@ -58,7 +58,7 @@ static void r600_begin_query(struct pipe_context *ctx, struct pipe_query *query) static void r600_end_query(struct pipe_context *ctx, struct pipe_query *query) { - struct r600_context *rctx = (struct r600_context *)ctx; + struct si_context *rctx = (struct si_context *)ctx; struct r600_query *rquery = (struct r600_query *)query; if (!si_query_needs_begin(rquery->type)) { @@ -76,7 +76,7 @@ static boolean r600_get_query_result(struct pipe_context *ctx, struct pipe_query *query, boolean wait, union pipe_query_result *vresult) { - struct r600_context *rctx = (struct r600_context *)ctx; + struct si_context *rctx = (struct si_context *)ctx; struct r600_query *rquery = (struct r600_query *)query; return r600_context_query_result(rctx, rquery, wait, vresult); @@ -87,7 +87,7 @@ static void r600_render_condition(struct pipe_context *ctx, boolean condition, uint mode) { - struct r600_context *rctx = (struct r600_context *)ctx; + struct si_context *rctx = (struct si_context *)ctx; struct r600_query *rquery = (struct r600_query *)query; int wait_flag = 0; @@ -134,7 +134,7 @@ static void r600_render_condition(struct pipe_context *ctx, } } -void r600_init_query_functions(struct r600_context *rctx) +void r600_init_query_functions(struct si_context *rctx) { rctx->b.b.create_query = r600_create_query; rctx->b.b.destroy_query = r600_destroy_query; |