gallium/radeon: remove r600_resource_va
authorMarek Olšák <marek.olsak@amd.com>
Wed, 6 Aug 2014 20:58:18 +0000 (22:58 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 9 Aug 2014 21:41:16 +0000 (23:41 +0200)
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeon/r600_cs.h

index b30b465ed41390b12edc172756919d534dadd321..3cee760a8d7f902f205d4e6cf925d3df8e13d5d4 100644 (file)
 #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,