From: Bas Nieuwenhuizen Date: Fri, 2 Aug 2019 12:45:49 +0000 (+0200) Subject: radv: Expose VK_KHR_imageless_framebuffer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d54fdb563829fc9a097d35169e058acd8e1e790;p=mesa.git radv: Expose VK_KHR_imageless_framebuffer. Reviewed-by: Samuel Pitoiset --- diff --git a/docs/relnotes/19.2.0.html b/docs/relnotes/19.2.0.html index 45ec8034aed..ae273e64b6b 100644 --- a/docs/relnotes/19.2.0.html +++ b/docs/relnotes/19.2.0.html @@ -44,6 +44,7 @@ TBD.
  • EGL_EXT_platform_device
  • VK_EXT_queue_family_foreign for radv
  • VK_EXT_shader_demote_to_helper_invocation on Intel.
  • +
  • VK_KHR_imageless_framebuffer for radv
  • VK_KHR_shader_atomic_int64 for radv
  • diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 280b297f4df..5ef8942411c 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1010,6 +1010,12 @@ void radv_GetPhysicalDeviceFeatures2( features->indexTypeUint8 = pdevice->rad_info.chip_class >= GFX8; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES_KHR: { + VkPhysicalDeviceImagelessFramebufferFeaturesKHR *features = + (VkPhysicalDeviceImagelessFramebufferFeaturesKHR *)ext; + features->imagelessFramebuffer = true; + break; + } default: break; } diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py index aaedad554b3..5bbea10b09f 100644 --- a/src/amd/vulkan/radv_extensions.py +++ b/src/amd/vulkan/radv_extensions.py @@ -75,6 +75,7 @@ EXTENSIONS = [ Extension('VK_KHR_get_physical_device_properties2', 1, True), Extension('VK_KHR_get_surface_capabilities2', 1, 'RADV_HAS_SURFACE'), Extension('VK_KHR_image_format_list', 1, True), + Extension('VK_KHR_imageless_framebuffer', 1, True), Extension('VK_KHR_incremental_present', 1, 'RADV_HAS_SURFACE'), Extension('VK_KHR_maintenance1', 1, True), Extension('VK_KHR_maintenance2', 1, True),