v3dv: expose VK_EXT_attachment_feeback_loop_layout
We don't have any special requirements for this, so we can just expose the extension. The tests in CTS have an issue where they only check if a format is supported for sampling but don't check if an image with that format can be created for sampling. In our case, since we can't sample 1D depth/stencil images, this causes affected tests to crash in the simulator (they pass on the device though). There is an issue with a fix here: https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/3923 Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18489>
This commit is contained in:
@@ -535,7 +535,7 @@ Khronos extensions that are not part of any Vulkan version:
|
||||
VK_KHR_win32_surface DONE (dzn, lvp)
|
||||
VK_KHR_xcb_surface DONE (anv, dzn, lvp, radv, tu, v3dv, vn)
|
||||
VK_KHR_xlib_surface DONE (anv, dzn, lvp, radv, tu, v3dv, vn)
|
||||
VK_EXT_attachment_feedback_loop_layout DONE (radv, tu)
|
||||
VK_EXT_attachment_feedback_loop_layout DONE (radv, tu, v3dv)
|
||||
VK_EXT_border_color_swizzle DONE (anv, lvp, tu, radv/gfx10+, v3dv)
|
||||
VK_EXT_buffer_device_address DONE (anv/gen8+, radv)
|
||||
VK_EXT_calibrated_timestamps DONE (anv, lvp, radv, vn)
|
||||
|
@@ -166,6 +166,7 @@ get_device_extensions(const struct v3dv_physical_device *device,
|
||||
.KHR_vulkan_memory_model = true,
|
||||
.KHR_zero_initialize_workgroup_memory = true,
|
||||
.EXT_4444_formats = true,
|
||||
.EXT_attachment_feedback_loop_layout = true,
|
||||
.EXT_border_color_swizzle = true,
|
||||
.EXT_color_write_enable = true,
|
||||
.EXT_custom_border_color = true,
|
||||
@@ -1322,6 +1323,13 @@ v3dv_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice,
|
||||
break;
|
||||
}
|
||||
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_FEATURES_EXT: {
|
||||
VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT *features =
|
||||
(void *) ext;
|
||||
features->attachmentFeedbackLoopLayout = true;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
v3dv_debug_ignored_stype(ext->sType);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user