<div dir="auto">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>></div><div class="gmail_extra"><br><div class="gmail_quote">On Dec 9, 2016 07:07, "Edward O'Callaghan" <<a href="mailto:funfunctor@folklore1984.net">funfunctor@folklore1984.net</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Following on from the spirit of commit 011e5570f.<br>
<br>
Signed-off-by: Edward O'Callaghan <<a href="mailto:funfunctor@folklore1984.net">funfunctor@folklore1984.net</a>><br>
---<br>
src/intel/vulkan/anv_private.h | 15 ---------------<br>
1 file changed, 15 deletions(-)<br>
<br>
diff --git a/src/intel/vulkan/anv_<wbr>private.h b/src/intel/vulkan/anv_<wbr>private.h<br>
index 1f03b68..9e3b72e 100644<br>
--- a/src/intel/vulkan/anv_<wbr>private.h<br>
+++ b/src/intel/vulkan/anv_<wbr>private.h<br>
@@ -176,14 +176,6 @@ vk_to_isl_color(<wbr>VkClearColorValue color)<br>
memcpy((dest), (src), (count) * sizeof(*(src))); \<br>
})<br>
<br>
-/* Define no kernel as 1, since that's an illegal offset for a kernel */<br>
-#define NO_KERNEL 1<br>
-<br>
-struct anv_common {<br>
- VkStructureType sType;<br>
- const void* pNext;<br>
-};<br>
-<br>
/* Whenever we generate an error, pass it through this function. Useful for<br>
* debugging, where we can break on it. Only call at error site, not when<br>
* propagating errors. Might be useful to plug in a stack trace here.<br>
@@ -1859,13 +1851,6 @@ ANV_DEFINE_NONDISP_HANDLE_<wbr>CASTS(anv_shader_module, VkShaderModule)<br>
return (const __VkType *) __anv_obj; \<br>
}<br>
<br>
-#define ANV_COMMON_TO_STRUCT(__VkType, __vk_name, __common_name) \<br>
- const __VkType *__vk_name = anv_common_to_ ## __VkType(__common_name)<br>
-<br>
-ANV_DEFINE_STRUCT_CASTS(anv_<wbr>common, VkMemoryBarrier)<br>
-ANV_DEFINE_STRUCT_CASTS(anv_<wbr>common, VkBufferMemoryBarrier)<br>
-ANV_DEFINE_STRUCT_CASTS(anv_<wbr>common, VkImageMemoryBarrier)<br>
-<br>
/* Gen-specific function declarations */<br>
#ifdef genX<br>
# include "anv_genX.h"<br>
<font color="#888888">--<br>
2.9.3<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></blockquote></div><br></div>