diff options
author | Dave Airlie <[email protected]> | 2016-10-11 15:54:52 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-10-12 08:56:41 +1000 |
commit | 12301c54186d3c515ca3ee72c70091fc40f0145e (patch) | |
tree | c614102212f02ee04cc65b5fef64ae7d20bc7ded /src/amd/vulkan/radv_private.h | |
parent | fc28f89157254ddf638e52ea20cdfe675ab4c382 (diff) |
radv: drop the RADV_CALL macro.
This is leftover from anv, and we really never needed it.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index b69ffd1cc94..4587e060f44 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -308,14 +308,6 @@ void *radv_lookup_entrypoint(const char *name); extern struct radv_dispatch_table dtable; -#define RADV_CALL(func) ({ \ - if (dtable.func == NULL) { \ - size_t idx = offsetof(struct radv_dispatch_table, func) / sizeof(void *); \ - dtable.entrypoints[idx] = radv_resolve_entrypoint(idx); \ - } \ - dtable.func; \ - }) - static inline void * radv_alloc(const VkAllocationCallbacks *alloc, size_t size, size_t align, |