Browse Source

Vk: whoops, forgot these.

What's the Developer Guidelines for if I don't use them.
pull/491/head
Vladimír Vondruš 5 years ago
parent
commit
0684894324
  1. 6
      src/Magnum/Vk/DeviceCreateInfo.h
  2. 9
      src/Magnum/Vk/DeviceProperties.h

6
src/Magnum/Vk/DeviceCreateInfo.h

@ -228,6 +228,8 @@ class MAGNUM_VK_EXPORT DeviceCreateInfo {
* (Vulkan 1.2, @vk_extension{KHR,imageless_framebuffer})
* - @type_vk_keyword{PhysicalDeviceVariablePointersFeatures}
* (Vulkan 1.1, @vk_extension{KHR,variable_pointers})
* - @type_vk_keyword{PhysicalDeviceAccelerationStructureFeaturesKHR}
* (@vk_extension{KHR,acceleration_structure})
* - @type_vk_keyword{PhysicalDeviceSamplerYcbcrConversionFeatures}
* (Vulkan 1.1, @vk_extension{KHR,sampler_ycbcr_conversion})
* - @type_vk_keyword{PhysicalDeviceDescriptorIndexingFeatures}
@ -254,6 +256,10 @@ class MAGNUM_VK_EXPORT DeviceCreateInfo {
* 1.2, @vk_extension{EXT,host_query_reset})
* - @type_vk_keyword{PhysicalDeviceIndexTypeUint8FeaturesEXT}
* (@vk_extension{EXT,index_type_uint8})
* - @type_vk_keyword{PhysicalDeviceRayTracingPipelineFeaturesKHR}
* (@vk_extension{KHR,ray_tracing_pipeline})
* - @type_vk_keyword{PhysicalDeviceRayQueryFeaturesKHR}
* (@vk_extension{KHR,ray_query})
*/
DeviceCreateInfo& setEnabledFeatures(const DeviceFeatures& features) &;
/** @overload */

9
src/Magnum/Vk/DeviceProperties.h

@ -445,6 +445,9 @@ class MAGNUM_VK_EXPORT DeviceProperties {
* - If Vulkan 1.1 or the @vk_extension{KHR,sampler_ycbcr_conversion}
* extension is supported by the device, the `pNext` chain
* contains @type_vk_keyword{PhysicalDeviceSamplerYcbcrConversionFeatures}
* - If the @vk_extension{KHR,acceleration_structure} extension is
* supported by the device, the `pNext` chain contains
* @type_vk_keyword{PhysicalDeviceAccelerationStructureFeaturesKHR}
* - If Vulkan 1.2 or the @vk_extension{EXT,descriptor_indexing}
* extension is supported by the device, the `pNext` chain
* contains @type_vk_keyword{PhysicalDeviceDescriptorIndexingFeatures}
@ -481,6 +484,12 @@ class MAGNUM_VK_EXPORT DeviceProperties {
* - If the @vk_extension{EXT,index_type_uint8} extension is
* supported by the device, the `pNext` chain contains
* @type_vk_keyword{PhysicalDeviceIndexTypeUint8FeaturesEXT}
* - If the @vk_extension{KHR,ray_tracing_pipeline} extension is
* supported by the device, the `pNext` chain contains
* @type_vk_keyword{PhysicalDeviceRayTracingPipelineFeaturesKHR}
* - If the @vk_extension{KHR,ray_query} extension is supported by
* the device, the `pNext` chain contains
* @type_vk_keyword{PhysicalDeviceRayQueryFeaturesKHR}
*
* @see @ref Device::enabledFeatures(),
* @fn_vk_keyword{GetPhysicalDeviceFeatures2},

Loading…
Cancel
Save