mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 12:14:10 +08:00
radv: advertise VK_KHR_maintenance4
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13193>
This commit is contained in:
parent
19f7a3f01f
commit
6b9e12ea25
@ -16,4 +16,5 @@ VK_KHR_shader_subgroup_extended_types on lavapipe
|
||||
VK_KHR_spirv_1_4 on lavapipe
|
||||
Experimental raytracing support on RADV
|
||||
VK_KHR_synchronization2 on Intel
|
||||
NGG shader based culling is now enabled by default on GFX10.3 on RADV.
|
||||
NGG shader based culling is now enabled by default on GFX10.3 on RADV.
|
||||
VK_KHR_maintenance4 on RADV
|
||||
|
@ -434,6 +434,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
|
||||
.KHR_maintenance1 = true,
|
||||
.KHR_maintenance2 = true,
|
||||
.KHR_maintenance3 = true,
|
||||
.KHR_maintenance4 = true,
|
||||
.KHR_multiview = true,
|
||||
.KHR_pipeline_executable_properties = true,
|
||||
.KHR_pipeline_library = (device->instance->perftest_flags & RADV_PERFTEST_RT) && !device->use_llvm,
|
||||
@ -1615,6 +1616,12 @@ radv_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice,
|
||||
features->rayTraversalPrimitiveCulling = false;
|
||||
break;
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES_KHR: {
|
||||
VkPhysicalDeviceMaintenance4FeaturesKHR *features =
|
||||
(VkPhysicalDeviceMaintenance4FeaturesKHR *)ext;
|
||||
features->maintenance4 = true;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -2248,6 +2255,12 @@ radv_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
|
||||
props->maxRayHitAttributeSize = RADV_MAX_HIT_ATTRIB_SIZE;
|
||||
break;
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES_KHR: {
|
||||
VkPhysicalDeviceMaintenance4PropertiesKHR *properties =
|
||||
(VkPhysicalDeviceMaintenance4PropertiesKHR *)ext;
|
||||
properties->maxBufferSize = RADV_MAX_MEMORY_ALLOCATION_SIZE;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user