diff options
author | Bas Nieuwenhuizen <[email protected]> | 2016-12-08 22:19:28 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2016-12-09 08:53:05 +0100 |
commit | 011e5570f833ad13d4827ebc4b25bab2b672cc0c (patch) | |
tree | c15a37bd1a60075104754652bda37c8cfe937e2c /src/amd | |
parent | 8977cd4fddc571211b3a762510048de072c8c8ae (diff) |
radv: Clean up some unused variables.
Leftovers from anv?
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index c50e4016222..754cd0029ed 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -179,14 +179,6 @@ radv_clear_mask(uint32_t *inout_mask, uint32_t clear_mask) #define zero(x) (memset(&(x), 0, sizeof(x))) -/* Define no kernel as 1, since that's an illegal offset for a kernel */ -#define NO_KERNEL 1 - -struct radv_common { - VkStructureType sType; - const void* pNext; -}; - /* Whenever we generate an error, pass it through this function. Useful for * debugging, where we can break on it. Only call at error site, not when * propagating errors. Might be useful to plug in a stack trace here. @@ -1283,12 +1275,4 @@ RADV_DEFINE_NONDISP_HANDLE_CASTS(radv_shader_module, VkShaderModule) return (const __VkType *) __radv_obj; \ } -#define RADV_COMMON_TO_STRUCT(__VkType, __vk_name, __common_name) \ - const __VkType *__vk_name = radv_common_to_ ## __VkType(__common_name) - -RADV_DEFINE_STRUCT_CASTS(radv_common, VkMemoryBarrier) -RADV_DEFINE_STRUCT_CASTS(radv_common, VkBufferMemoryBarrier) -RADV_DEFINE_STRUCT_CASTS(radv_common, VkImageMemoryBarrier) - - #endif /* RADV_PRIVATE_H */ |