<p dir="ltr"><br>
On May 1, 2016 6:04 PM, "Kenneth Graunke" <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>> wrote:<br>
><br>
> On Sunday, May 1, 2016 9:51:00 AM PDT Emil Velikov wrote:<br>
> > On 28 April 2016 at 19:13, Eric Engestrom <<a href="mailto:eric.engestrom@imgtec.com">eric.engestrom@imgtec.com</a>> wrote:<br>
> > > On Mon, Apr 25, 2016 at 05:08:18PM +0100, Emil Velikov wrote:<br>
> > >> On 21 April 2016 at 11:24, Eric Engestrom <<a href="mailto:eric.engestrom@imgtec.com">eric.engestrom@imgtec.com</a>><br>
> wrote:<br>
> > >> > Commit 3d0fac7aca237bbe8ed8e2a362d3b42d0ef8c46c changed all the<br>
> > >> > VK_PROTOTYPES to VK_NO_PROTOTYPES<br>
> > >> > This brings the Intel header in line with the rest of the Vulkan code.<br>
> > >> ><br>
> > >> > Signed-off-by: Eric Engestrom <<a href="mailto:eric.engestrom@imgtec.com">eric.engestrom@imgtec.com</a>><br>
> > >> Reviewed-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>><br>
> > >><br>
> > >> > ---<br>
> > >> ><br>
> > >> > This might break code that was using the old guard scheme (not sure how<br>
> > >> > that could've worked anyway).<br>
> > >> > What the policy on this?<br>
> > >> ><br>
> > >> > v2: rebase on top of 3caf2e89aa1711e80db80d2056e0a44663d9c7d2<br>
> > >> > ("anv: fix build without Wayland platform"). Should've done that<br>
> the<br>
> > >> > first time around, sorry :]<br>
> > >> ><br>
> > >> > include/vulkan/vulkan_intel.h | 2 +-<br>
> > >> > src/intel/vulkan/anv_private.h | 1 -<br>
> > >> > 2 files changed, 1 insertion(+), 2 deletions(-)<br>
> > >> ><br>
> > >> > diff --git a/include/vulkan/vulkan_intel.h b/include/vulkan/<br>
> vulkan_intel.h<br>
> > >> > index 1f77128..8ede61b 100644<br>
> > >> > --- a/include/vulkan/vulkan_intel.h<br>
> > >> > +++ b/include/vulkan/vulkan_intel.h<br>
> > >> > @@ -44,7 +44,7 @@ typedef struct VkDmaBufImageCreateInfo_<br>
> > >> ><br>
> > >> > typedef VkResult (VKAPI_PTR *PFN_vkCreateDmaBufImageINTEL)(VkDevice<br>
> device, const VkDmaBufImageCreateInfo* pCreateInfo, const<br>
> VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMem, VkImage* pImage);<br>
> > >> ><br>
> > >> > -#ifdef VK_PROTOTYPES<br>
> > >> > +#ifndef VK_NO_PROTOTYPES<br>
> > >> ><br>
> > >> Would be great to hear from the Intel guys, if there is a another<br>
> > >> Cannonical repo where this change should land first ?<br>
> > ><br>
> > > CC'ing intel-gfx even though this isn't X-related, because I don't know<br>
> > > of any other way to contact you guys :]<br>
> > ><br>
> > Adding the anv authors.<br>
> ><br>
> > Jason, Chad, is there a canonical place where changes to<br>
> > vulkan_intel.h should land first ? Eric has a nice fix which we want<br>
> > in mesa.<br>
> ><br>
> > Thanks<br>
> > Emil<br>
><br>
> I'm pretty sure Mesa is the only repository where this lives.</p>
<p dir="ltr">Yup</p>