summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/r600_resource.c
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2012-08-16 10:37:44 +0200
committerMichel Dänzer <[email protected]>2012-08-16 12:01:16 +0200
commit1b11395a36a44a902cfb3e1783758544662df73f (patch)
tree403ab4d737404a91d88097dd64b88ce99891f5e7 /src/gallium/drivers/radeonsi/r600_resource.c
parent51d9f37a72b3c7893204efbbeca034d1581d30f1 (diff)
radeonsi: Fix symbol conflicts with r600g.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50389 Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/r600_resource.c')
-rw-r--r--src/gallium/drivers/radeonsi/r600_resource.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_resource.c b/src/gallium/drivers/radeonsi/r600_resource.c
index d9be706b6b8..a4888a703b4 100644
--- a/src/gallium/drivers/radeonsi/r600_resource.c
+++ b/src/gallium/drivers/radeonsi/r600_resource.c
@@ -27,9 +27,9 @@ static struct pipe_resource *r600_resource_create(struct pipe_screen *screen,
const struct pipe_resource *templ)
{
if (templ->target == PIPE_BUFFER) {
- return r600_buffer_create(screen, templ);
+ return si_buffer_create(screen, templ);
} else {
- return r600_texture_create(screen, templ);
+ return si_texture_create(screen, templ);
}
}
@@ -40,7 +40,7 @@ static struct pipe_resource *r600_resource_from_handle(struct pipe_screen * scre
if (templ->target == PIPE_BUFFER) {
return NULL;
} else {
- return r600_texture_from_handle(screen, templ, whandle);
+ return si_texture_from_handle(screen, templ, whandle);
}
}