summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-08-06 22:58:18 +0200
committerMarek Olšák <[email protected]>2014-08-09 23:41:16 +0200
commit00ddf7a0162a1a531549bdee02932e0918459775 (patch)
tree618e4078a8a23527ee63d26d09a7b3f9c899ffe0 /src/gallium
parent8c235465cd742c65c8f5550f8bda89b7cd4e3b33 (diff)
gallium/radeon: remove r600_resource_va
Reviewed-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeon/r600_cs.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/radeon/r600_cs.h b/src/gallium/drivers/radeon/r600_cs.h
index b30b465ed41..3cee760a8d7 100644
--- a/src/gallium/drivers/radeon/r600_cs.h
+++ b/src/gallium/drivers/radeon/r600_cs.h
@@ -33,15 +33,6 @@
#include "r600_pipe_common.h"
#include "r600d_common.h"
-static INLINE uint64_t r600_resource_va(struct pipe_screen *screen,
- struct pipe_resource *resource)
-{
- struct r600_common_screen *rscreen = (struct r600_common_screen*)screen;
- struct r600_resource *rresource = (struct r600_resource*)resource;
-
- return rscreen->ws->buffer_get_virtual_address(rresource->cs_buf);
-}
-
static INLINE unsigned r600_context_bo_reloc(struct r600_common_context *rctx,
struct r600_ring *ring,
struct r600_resource *rbo,