diff options
author | Henri Verbeet <[email protected]> | 2011-02-03 21:10:50 +0100 |
---|---|---|
committer | Henri Verbeet <[email protected]> | 2011-02-03 21:13:12 +0100 |
commit | a6a710cbe7425819e1cd5ad5f2085311c092f2e7 (patch) | |
tree | 437bd09011d3725fc06e57d66f78630d7bc0e049 /src/gallium/drivers/r600/r600_buffer.c | |
parent | d06b99009699f8bc1d7a1d711bee8edc92dfb1a9 (diff) |
r600g: Make some more things static.
Diffstat (limited to 'src/gallium/drivers/r600/r600_buffer.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_buffer.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gallium/drivers/r600/r600_buffer.c b/src/gallium/drivers/r600/r600_buffer.c index 045e883cfcf..c3bc6eadda4 100644 --- a/src/gallium/drivers/r600/r600_buffer.c +++ b/src/gallium/drivers/r600/r600_buffer.c @@ -51,6 +51,14 @@ static void r600_buffer_destroy(struct pipe_screen *screen, FREE(rbuffer); } +static unsigned r600_buffer_is_referenced_by_cs(struct pipe_context *context, + struct pipe_resource *buf, + unsigned level, int layer) +{ + /* FIXME */ + return PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE; +} + static void *r600_buffer_transfer_map(struct pipe_context *pipe, struct pipe_transfer *transfer) { @@ -163,14 +171,6 @@ struct pipe_resource *r600_user_buffer_create(struct pipe_screen *screen, return &rbuffer->r.base.b; } -unsigned r600_buffer_is_referenced_by_cs(struct pipe_context *context, - struct pipe_resource *buf, - unsigned level, int layer) -{ - /* FIXME */ - return PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE; -} - struct pipe_resource *r600_buffer_from_handle(struct pipe_screen *screen, struct winsys_handle *whandle) { |