Re: [FFmpeg-devel] [PATCH 2/2] hwcontext_vulkan: expose the enabled device features

2020-05-20 Thread Lynne
May 20, 2020, 22:56 by s...@jkqxz.net: > On 19/05/2020 21:56, Lynne wrote: > > "Each pNext member of any structure (including this one) in the pNext chain > must be either NULL or a pointer to a valid instance of ... [big list which > does not include VkPhysicalDeviceFeatures]." Was that meant

Re: [FFmpeg-devel] [PATCH 2/2] hwcontext_vulkan: expose the enabled device features

2020-05-20 Thread Mark Thompson
On 19/05/2020 21:56, Lynne wrote: > May 19, 2020, 20:57 by s...@jkqxz.net: > >> On 13/05/2020 16:53, Lynne wrote: >> >>> With this, the puzze of making libplacebo, ffmpeg and any other Vulkan >>> API users interoperable is complete. >>> Users of both libraries can initialize one another's context

Re: [FFmpeg-devel] [PATCH 2/2] hwcontext_vulkan: expose the enabled device features

2020-05-19 Thread Lynne
May 19, 2020, 20:57 by s...@jkqxz.net: > On 13/05/2020 16:53, Lynne wrote: > >> With this, the puzze of making libplacebo, ffmpeg and any other Vulkan >> API users interoperable is complete. >> Users of both libraries can initialize one another's contexts without having >> to create a new one. >>

Re: [FFmpeg-devel] [PATCH 2/2] hwcontext_vulkan: expose the enabled device features

2020-05-19 Thread Mark Thompson
On 13/05/2020 16:53, Lynne wrote: > With this, the puzze of making libplacebo, ffmpeg and any other Vulkan > API users interoperable is complete. > Users of both libraries can initialize one another's contexts without having > to create a new one. > > From 28264793295b0d7861527f40fa7c7041a3b34907

Re: [FFmpeg-devel] [PATCH 2/2] hwcontext_vulkan: expose the enabled device features

2020-05-13 Thread Lynne
May 13, 2020, 17:45 by ffm...@haasn.xyz: > Hi, I guess you already know this but just as a reminder: > > On Wed, 13 May 2020 17:53:33 +0200 (CEST), Lynne wrote: > >> +vkGetPhysicalDeviceFeatures(hwctx->phys_dev, &dev_features); >> +#define COPY_FEATURE(DST, NAME) (DST).NAME = dev_features.NAM

[FFmpeg-devel] [PATCH 2/2] hwcontext_vulkan: expose the enabled device features

2020-05-13 Thread Lynne
With this, the puzze of making libplacebo, ffmpeg and any other Vulkan API users interoperable is complete. Users of both libraries can initialize one another's contexts without having to create a new one. Patch attached. >From 28264793295b0d7861527f40fa7c7041a3b34907 Mon Sep 17 00:00:00 2001 Fr

Re: [FFmpeg-devel] [PATCH 2/2] hwcontext_vulkan: expose the enabled device features

2020-05-13 Thread Niklas Haas
Hi, I guess you already know this but just as a reminder: On Wed, 13 May 2020 17:53:33 +0200 (CEST), Lynne wrote: > +vkGetPhysicalDeviceFeatures(hwctx->phys_dev, &dev_features); > +#define COPY_FEATURE(DST, NAME) (DST).NAME = dev_features.NAME; > +COPY_FEATURE(hwctx->device_features, shad