Skip to content
  • Joseph Jenner-Bailey's avatar
    layer: improve how layer handles Vulkan extensions · 950cdd40
    Joseph Jenner-Bailey authored and Matteo Franchin's avatar Matteo Franchin committed
    
    
    In vkCreateInstance:
    
    - ppEnabledExtensionNames is checked to determine which window-system
      platforms the layer should enable support for.
    - support in the layer is always enabled if possible, even if this may
      be provided by the ICDs. Platforms not supported by the layer should
      still be correctly supported by the ICDs (untested.)
    - pApplicationInfo is changed to bump the Vulkan API version
      in order to enable instance extensions that are necessary for some
      of the platforms implemented in the layer.
    
    In vkCreateDevice:
    
    - ppEnabledExtensionNames is extended with device extensions required
      by the layer.
    - if the extensions are not supported by the physical device, the
      layer fails to initialize the device.
    
    Change-Id: Ibdd69fca38e7909d5b8f0ac7698805ea5f425ac6
    Signed-off-by: default avatarJoe Jenner-Bailey <joe.jenner-bailey@arm.com>
    Signed-off-by: default avatarMatteo Franchin <matteo.franchin@arm.com>
    950cdd40