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

2016-02-27 Thread Jason Ekstrand
On Sat, Feb 27, 2016 at 11:39 AM, Jacek Konieczny wrote: > On 2016-02-27 19:58, Jason Ekstrand wrote: > > > > > > On Sat, Feb 27, 2016 at 5:47 AM, Jacek Konieczny > > wrote: > > > > The same handle returned by all vkCreateSemaphore() calls confuses > > validatio

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

2016-02-27 Thread Jacek Konieczny
On 2016-02-27 19:58, Jason Ekstrand wrote: > > > On Sat, Feb 27, 2016 at 5:47 AM, Jacek Konieczny > wrote: > > The same handle returned by all vkCreateSemaphore() calls confuses > validation layers: > > > From the Vulkan 1.0 spec, Glossary: > > Non-Dispatcha

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

2016-02-27 Thread Jason Ekstrand
On Sat, Feb 27, 2016 at 5:47 AM, Jacek Konieczny 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 objec

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

2016-02-27 Thread Jacek Konieczny
On 2016-02-27 19:32, Kenneth Graunke wrote: > On Saturday, February 27, 2016 2:47:22 PM PST Jacek Konieczny wrote: >> The same handle returned by all vkCreateSemaphore() calls confuses >> validation layers: >> >> SEMAPHORE(ERROR): object: 0x1 type: 5 location: 1443 msgCode: 0: > vkQueueSubmit: Sem

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

2016-02-27 Thread Kenneth Graunke
On Saturday, February 27, 2016 2:47:22 PM PST Jacek Konieczny wrote: > The same handle returned by all vkCreateSemaphore() calls confuses > validation layers: > > SEMAPHORE(ERROR): object: 0x1 type: 5 location: 1443 msgCode: 0: vkQueueSubmit: Semaphore must not be currently signaled or in a wait

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

2016-02-27 Thread Jacek Konieczny
The same handle returned by all vkCreateSemaphore() calls confuses validation layers: SEMAPHORE(ERROR): object: 0x1 type: 5 location: 1443 msgCode: 0: vkQueueSubmit: Semaphore must not be currently signaled or in a wait state Signed-off-by: Jacek Konieczny --- src/intel/vulkan/anv_device.c | 4