[Mesa-dev] [PATCH 1/2] anv/entrypoints: dispatches to VkQueue are device-level
Jason Ekstrand
jason at jlekstrand.net
Mon Mar 12 14:37:16 UTC 2018
You need to also add support for VkQueue for trampoline functions.
On Mon, Mar 12, 2018 at 1:40 AM, Iago Toral Quiroga <itoral at igalia.com>
wrote:
> ---
> src/intel/vulkan/anv_entrypoints_gen.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/anv_entrypoints_gen.py
> b/src/intel/vulkan/anv_entrypoints_gen.py
> index 485c6cfe8d..2dddd7f1aa 100644
> --- a/src/intel/vulkan/anv_entrypoints_gen.py
> +++ b/src/intel/vulkan/anv_entrypoints_gen.py
> @@ -423,7 +423,7 @@ class Entrypoint(EntrypointBase):
> self.guard = guard
>
> def is_device_entrypoint(self):
> - return self.params[0].type in ('VkDevice', 'VkCommandBuffer')
> + return self.params[0].type in ('VkDevice', 'VkCommandBuffer',
> 'VkQueue')
>
> def prefixed_name(self, prefix):
> assert self.name.startswith('vk')
> --
> 2.14.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180312/a4fb61ac/attachment.html>
More information about the mesa-dev
mailing list