summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorAndreas Hartmetz <[email protected]>2014-01-07 03:14:05 +0100
committerMarek Olšák <[email protected]>2014-01-14 00:07:13 +0100
commit3a4b87511ecae187febf1f6a24dfe9056ace0d9e (patch)
tree42d201594eb67c69a4181eb29090db87074cbf10 /src/gallium/drivers/radeonsi
parent5d068f734ce4e3e59b9f8c34b0c6d3fa016e18bd (diff)
radeonsi: Rename r600->si remaining identifiers in si_resource.c.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_resource.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeonsi/si_resource.c b/src/gallium/drivers/radeonsi/si_resource.c
index 3b4f6096c4d..11ac3c9a1d0 100644
--- a/src/gallium/drivers/radeonsi/si_resource.c
+++ b/src/gallium/drivers/radeonsi/si_resource.c
@@ -23,7 +23,7 @@
#include "si_pipe.h"
-static struct pipe_resource *r600_resource_create(struct pipe_screen *screen,
+static struct pipe_resource *si_resource_create(struct pipe_screen *screen,
const struct pipe_resource *templ)
{
if (templ->target == PIPE_BUFFER) {
@@ -33,9 +33,9 @@ static struct pipe_resource *r600_resource_create(struct pipe_screen *screen,
}
}
-static struct pipe_resource *r600_resource_from_handle(struct pipe_screen * screen,
- const struct pipe_resource *templ,
- struct winsys_handle *whandle)
+static struct pipe_resource *si_resource_from_handle(struct pipe_screen * screen,
+ const struct pipe_resource *templ,
+ struct winsys_handle *whandle)
{
if (templ->target == PIPE_BUFFER) {
return NULL;
@@ -46,8 +46,8 @@ static struct pipe_resource *r600_resource_from_handle(struct pipe_screen * scre
void si_init_screen_resource_functions(struct pipe_screen *screen)
{
- screen->resource_create = r600_resource_create;
- screen->resource_from_handle = r600_resource_from_handle;
+ screen->resource_create = si_resource_create;
+ screen->resource_from_handle = si_resource_from_handle;
screen->resource_get_handle = u_resource_get_handle_vtbl;
screen->resource_destroy = u_resource_destroy_vtbl;
}