mirror of https://git.ffmpeg.org/ffmpeg.git
vulkan: retrieve Vulkan 1.1 properties
Required to know the subgroup size.
This commit is contained in:
parent
16fa710340
commit
c918b42dcd
|
@ -130,9 +130,13 @@ int ff_vk_load_props(FFVulkanContext *s)
|
|||
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES,
|
||||
.pNext = &s->desc_buf_props,
|
||||
};
|
||||
s->props_11 = (VkPhysicalDeviceVulkan11Properties) {
|
||||
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES,
|
||||
.pNext = &s->driver_props,
|
||||
};
|
||||
s->props = (VkPhysicalDeviceProperties2) {
|
||||
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2,
|
||||
.pNext = &s->driver_props,
|
||||
.pNext = &s->props_11,
|
||||
};
|
||||
|
||||
s->atomic_float_feats = (VkPhysicalDeviceShaderAtomicFloatFeaturesEXT) {
|
||||
|
|
|
@ -267,6 +267,7 @@ typedef struct FFVulkanContext {
|
|||
FFVulkanFunctions vkfn;
|
||||
FFVulkanExtensions extensions;
|
||||
VkPhysicalDeviceProperties2 props;
|
||||
VkPhysicalDeviceVulkan11Properties props_11;
|
||||
VkPhysicalDeviceDriverProperties driver_props;
|
||||
VkPhysicalDeviceMemoryProperties mprops;
|
||||
VkPhysicalDeviceExternalMemoryHostPropertiesEXT hprops;
|
||||
|
|
Loading…
Reference in New Issue