[Mesa-dev] [RFC 3/5] anv: add a note about strange looking define

Eric Engestrom eric.engestrom at imgtec.com
Thu Apr 21 15:24:56 UTC 2016


On Thu, Apr 21, 2016 at 01:24:45PM +0100, Emil Velikov wrote:
> diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
> index 120696e..3eb0475 100644
> --- a/src/intel/vulkan/anv_private.h
> +++ b/src/intel/vulkan/anv_private.h
> @@ -53,6 +53,9 @@ typedef struct xcb_connection_t xcb_connection_t;
>  typedef uint32_t xcb_visualid_t;
>  typedef uint32_t xcb_window_t;
>  
> +/* XXX: We shold not need this define. Additionally adding it here, breaks
> + * the libvulkan ABI in a similar way the libGL is.
> + */
>  #define VK_PROTOTYPES
>  #include <vulkan/vulkan.h>
>  #include <vulkan/vulkan_intel.h>

Related patch I sent earlier today:
https://lists.freedesktop.org/archives/mesa-dev/2016-April/113981.html


More information about the mesa-dev mailing list