diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-08-02 14:45:49 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-08-02 22:35:25 +0200 |
commit | 2d54fdb563829fc9a097d35169e058acd8e1e790 (patch) | |
tree | 32869abc1a6e44419547e61698efbe18db644620 | |
parent | 9475782eac8e81633e584c788b28f9cf531defdb (diff) |
radv: Expose VK_KHR_imageless_framebuffer.
Reviewed-by: Samuel Pitoiset <[email protected]>
-rw-r--r-- | docs/relnotes/19.2.0.html | 1 | ||||
-rw-r--r-- | src/amd/vulkan/radv_device.c | 6 | ||||
-rw-r--r-- | src/amd/vulkan/radv_extensions.py | 1 |
3 files changed, 8 insertions, 0 deletions
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. <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> 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), |