vulkan: use device properties 2 and add a convenience loader function
This commit is contained in:
@@ -197,7 +197,8 @@ typedef struct FFVulkanContext {
|
||||
|
||||
FFVulkanFunctions vkfn;
|
||||
FFVulkanExtensions extensions;
|
||||
VkPhysicalDeviceProperties props;
|
||||
VkPhysicalDeviceProperties2 props;
|
||||
VkPhysicalDeviceDriverProperties driver_props;
|
||||
VkPhysicalDeviceMemoryProperties mprops;
|
||||
|
||||
AVBufferRef *device_ref;
|
||||
@@ -243,6 +244,11 @@ extern const VkComponentMapping ff_comp_identity_map;
|
||||
*/
|
||||
const char *ff_vk_ret2str(VkResult res);
|
||||
|
||||
/**
|
||||
* Loads props/mprops/driver_props
|
||||
*/
|
||||
void ff_vk_load_props(FFVulkanContext *s);
|
||||
|
||||
/**
|
||||
* Returns 1 if the image is any sort of supported RGB
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user