<div dir="ltr"><div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br><br></div>I'll push it.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 11, 2016 at 6:08 PM, Nicolas Koch <span dir="ltr"><<a href="mailto:nioko1337@gmail.com" target="_blank">nioko1337@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It's been a few days. Is anybody willing to push this?<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Oct 6, 2016 at 11:25 PM, Anuj Phogat <<a href="mailto:anuj.phogat@gmail.com">anuj.phogat@gmail.com</a>> wrote:<br>
> On Thu, Oct 6, 2016 at 12:21 PM, Nicolas Koch <<a href="mailto:nioko1337@gmail.com">nioko1337@gmail.com</a>> wrote:<br>
>> If pPhysicalDevices is too small for all physical devices,<br>
>> the driver must return VK_INCOMPLETE.<br>
>> Since only a single physical device is supported, this is only the case<br>
>> when pPhysicalDeviceCount == 0 && pPhysicalDevices != NULL.<br>
>> ---<br>
>>  src/intel/vulkan/anv_device.c | 2 ++<br>
>>  1 file changed, 2 insertions(+)<br>
>><br>
>> diff --git a/src/intel/vulkan/anv_device.<wbr>c b/src/intel/vulkan/anv_device.<wbr>c<br>
>> index c7b9979..76cbb69 100644<br>
>> --- a/src/intel/vulkan/anv_device.<wbr>c<br>
>> +++ b/src/intel/vulkan/anv_device.<wbr>c<br>
>> @@ -385,6 +385,8 @@ VkResult anv_EnumeratePhysicalDevices(<br>
>>     } else if (*pPhysicalDeviceCount >= 1) {<br>
>>        pPhysicalDevices[0] = anv_physical_device_to_handle(<wbr>&instance->physicalDevice);<br>
>>        *pPhysicalDeviceCount = 1;<br>
>> +   } else if (*pPhysicalDeviceCount < instance->physicalDeviceCount) {<br>
>> +      return VK_INCOMPLETE;<br>
>>     } else {<br>
>>        *pPhysicalDeviceCount = 0;<br>
>>     }<br>
>> --<br>
>> 2.10.0<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>
><br>
> Reviewed-by: Anuj Phogat <<a href="mailto:anuj.phogat@gmail.com">anuj.phogat@gmail.com</a>><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>
</div></div></blockquote></div><br></div>