diff options
author | Dave Airlie <[email protected]> | 2016-04-06 22:35:12 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-04-07 04:39:17 +0100 |
commit | a5d247dda0d0dfcae5c1e2b730cb7e53e5315676 (patch) | |
tree | dc7a644531a7a92bff8204d11b58690bf19f77ee /src/gallium/drivers/r600/evergreen_compute.c | |
parent | 41558efa87d610515f88d2c562c785f976f4f641 (diff) |
r600: make two compute functions static.
These aren't used outside evergreen_compute.c
Acked-by: Tom Stellard <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_compute.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_compute.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c index 6cd49c94226..b93ec992111 100644 --- a/src/gallium/drivers/r600/evergreen_compute.c +++ b/src/gallium/drivers/r600/evergreen_compute.c @@ -251,8 +251,8 @@ static void r600_destroy_shader(struct r600_bytecode *bc) FREE(bc->bytecode); } -void *evergreen_create_compute_state(struct pipe_context *ctx, - const const struct pipe_compute_state *cso) +static void *evergreen_create_compute_state(struct pipe_context *ctx, + const const struct pipe_compute_state *cso) { struct r600_context *rctx = (struct r600_context *)ctx; struct r600_pipe_compute *shader = CALLOC_STRUCT(r600_pipe_compute); @@ -284,7 +284,7 @@ void *evergreen_create_compute_state(struct pipe_context *ctx, return shader; } -void evergreen_delete_compute_state(struct pipe_context *ctx, void *state) +static void evergreen_delete_compute_state(struct pipe_context *ctx, void *state) { struct r600_context *rctx = (struct r600_context *)ctx; struct r600_pipe_compute *shader = state; |