<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 28, 2017 at 6:43 AM, Alejandro Piñeiro <span dir="ltr"><<a href="mailto:apinheiro@igalia.com" target="_blank">apinheiro@igalia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Forget my question, didn't realize that the prefix was KHX instead of<br>
KHR. So:<br>
Reviewed-by: Alejandro Piñeiro <<a href="mailto:apinheiro@igalia.com">apinheiro@igalia.com</a>><br>
<div><div class="h5"><br>
On 28/04/17 15:39, Alejandro Piñeiro wrote:<br>
> On 28/04/17 14:59, Jason Ekstrand wrote:<br>
>> ---<br>
>> src/intel/vulkan/anv_device.c | 36 ++++++++++++++++++------------<wbr>------<br>
>> 1 file changed, 18 insertions(+), 18 deletions(-)<br>
>><br>
>> diff --git a/src/intel/vulkan/anv_device.<wbr>c b/src/intel/vulkan/anv_device.<wbr>c<br>
>> index cf32df6..6b3202d 100644<br>
>> --- a/src/intel/vulkan/anv_device.<wbr>c<br>
>> +++ b/src/intel/vulkan/anv_device.<wbr>c<br>
>> @@ -302,9 +302,19 @@ anv_physical_device_finish(<wbr>struct anv_physical_device *device)<br>
>><br>
>> static const VkExtensionProperties global_extensions[] = {<br>
>> {<br>
>> + .extensionName = VK_KHR_GET_PHYSICAL_DEVICE_<wbr>PROPERTIES_2_EXTENSION_NAME,<br>
>> + .specVersion = 1,<br>
>> + },<br>
>> + {<br>
>> .extensionName = VK_KHR_SURFACE_EXTENSION_NAME,<br>
>> .specVersion = 25,<br>
>> },<br>
>> +#ifdef VK_USE_PLATFORM_WAYLAND_KHR<br>
>> + {<br>
>> + .extensionName = VK_KHR_WAYLAND_SURFACE_<wbr>EXTENSION_NAME,<br>
>> + .specVersion = 5,<br>
>> + },<br>
>> +#endif<br>
>> #ifdef VK_USE_PLATFORM_XCB_KHR<br>
>> {<br>
>> .extensionName = VK_KHR_XCB_SURFACE_EXTENSION_<wbr>NAME,<br>
>> @@ -317,16 +327,6 @@ static const VkExtensionProperties global_extensions[] = {<br>
>> .specVersion = 6,<br>
>> },<br>
>> #endif<br>
>> -#ifdef VK_USE_PLATFORM_WAYLAND_KHR<br>
>> - {<br>
>> - .extensionName = VK_KHR_WAYLAND_SURFACE_<wbr>EXTENSION_NAME,<br>
>> - .specVersion = 5,<br>
>> - },<br>
>> -#endif<br>
>> - {<br>
>> - .extensionName = VK_KHR_GET_PHYSICAL_DEVICE_<wbr>PROPERTIES_2_EXTENSION_NAME,<br>
>> - .specVersion = 1,<br>
>> - },<br>
>> {<br>
>> .extensionName = VK_KHX_EXTERNAL_MEMORY_<wbr>CAPABILITIES_EXTENSION_NAME,<br>
> Shouldn't EXTERNAL_MEMORY_CAPABILITIES be moved too? (so being the first<br>
> one on the list of global extensions)<br></div></div></blockquote><div><br></div><div>That one is KHX not KHR. I decided not to move the KHX ones yet. I don't really have a good reason for that. I'm happy to put them in with the KHRs if someone wants.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
>> .specVersion = 1,<br>
>> @@ -335,11 +335,11 @@ static const VkExtensionProperties global_extensions[] = {<br>
>><br>
>> static const VkExtensionProperties device_extensions[] = {<br>
>> {<br>
>> - .extensionName = VK_KHR_SWAPCHAIN_EXTENSION_<wbr>NAME,<br>
>> - .specVersion = 68,<br>
>> + .extensionName = VK_KHR_DESCRIPTOR_UPDATE_<wbr>TEMPLATE_EXTENSION_NAME,<br>
>> + .specVersion = 1,<br>
>> },<br>
>> {<br>
>> - .extensionName = VK_KHR_SAMPLER_MIRROR_CLAMP_<wbr>TO_EDGE_EXTENSION_NAME,<br>
>> + .extensionName = VK_KHR_INCREMENTAL_PRESENT_<wbr>EXTENSION_NAME,<br>
>> .specVersion = 1,<br>
>> },<br>
>> {<br>
>> @@ -347,20 +347,20 @@ static const VkExtensionProperties device_extensions[] = {<br>
>> .specVersion = 1,<br>
>> },<br>
>> {<br>
>> - .extensionName = VK_KHR_SHADER_DRAW_PARAMETERS_<wbr>EXTENSION_NAME,<br>
>> + .extensionName = VK_KHR_PUSH_DESCRIPTOR_<wbr>EXTENSION_NAME,<br>
>> .specVersion = 1,<br>
>> },<br>
>> {<br>
>> - .extensionName = VK_KHR_PUSH_DESCRIPTOR_<wbr>EXTENSION_NAME,<br>
>> + .extensionName = VK_KHR_SAMPLER_MIRROR_CLAMP_<wbr>TO_EDGE_EXTENSION_NAME,<br>
>> .specVersion = 1,<br>
>> },<br>
>> {<br>
>> - .extensionName = VK_KHR_DESCRIPTOR_UPDATE_<wbr>TEMPLATE_EXTENSION_NAME,<br>
>> + .extensionName = VK_KHR_SHADER_DRAW_PARAMETERS_<wbr>EXTENSION_NAME,<br>
>> .specVersion = 1,<br>
>> },<br>
>> {<br>
>> - .extensionName = VK_KHR_INCREMENTAL_PRESENT_<wbr>EXTENSION_NAME,<br>
>> - .specVersion = 1,<br>
>> + .extensionName = VK_KHR_SWAPCHAIN_EXTENSION_<wbr>NAME,<br>
>> + .specVersion = 68,<br>
>> },<br>
>> {<br>
>> .extensionName = VK_KHX_EXTERNAL_MEMORY_<wbr>EXTENSION_NAME,<br>
> Same question for EXTERNAL_MEMORY and EXTERNAL_MEMORY_FD<br>
><br>
> BR<br>
</div></div>> ______________________________<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>
<br>
</blockquote></div><br></div></div>