[Mesa-dev] [PATCH] anv: generate different VkSemaphore handles

Jacek Konieczny jajcus at jajcus.net
Sat Feb 27 19:39:34 UTC 2016


On 2016-02-27 19:58, Jason Ekstrand wrote:
> 
> 
> On Sat, Feb 27, 2016 at 5:47 AM, Jacek Konieczny <jajcus at jajcus.net
> <mailto:jajcus at jajcus.net>> wrote:
> 
>     The same handle returned by all vkCreateSemaphore() calls confuses
>     validation layers:
> 
> 
> From the Vulkan 1.0 spec, Glossary:
> 
> Non-Dispatchable Handle
>     A handle of an integer handle type. Handle values may not be unique,
>     even for two objects of the same type. 
> 
> Semaphores are non-dispatchable handles so there is no guarantee that
> they are unique.

I have missed that.

> The validation layer is broken.  Please file a bug there.

Done:
https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/49

Though, I still think this check (as in validation layers), with unique
values resturned from the driver, is a useful tool for testing Vulkan
applications.

Jacek


More information about the mesa-dev mailing list