radv: Expose VK_KHR_imageless_framebuffer.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 2 Aug 2019 12:45:49 +0000 (14:45 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 2 Aug 2019 20:35:25 +0000 (22:35 +0200)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
docs/relnotes/19.2.0.html
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_extensions.py

index 45ec8034aed49ca7eb13a57071f7e75243c57cd3..ae273e64b6b8382fd5d2c41a01b98665d690cb37 100644 (file)
@@ -44,6 +44,7 @@ TBD.
 <li>EGL_EXT_platform_device</li>
 <li>VK_EXT_queue_family_foreign for radv</li>
 <li>VK_EXT_shader_demote_to_helper_invocation on Intel.</li>
+<li>VK_KHR_imageless_framebuffer for radv</li>
 <li>VK_KHR_shader_atomic_int64 for radv</li>
 </ul>
 
index 280b297f4dfabe0f2305d7f115614d022f869aaa..5ef8942411c394ad6b3fbe99e3f6e57eae79a1e2 100644 (file)
@@ -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;
                }
index aaedad554b39c0a33a726f266547c156c8d3edbf..5bbea10b09f1965b47e45a1c2231f85e52d24ca1 100644 (file)
@@ -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),