mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
radv: Enable KHR_ray_query
Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14565>
This commit is contained in:
parent
78c84f11a5
commit
16cb957e8b
2 changed files with 9 additions and 0 deletions
|
|
@ -434,6 +434,8 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
|
|||
.KHR_pipeline_library =
|
||||
(device->instance->perftest_flags & RADV_PERFTEST_RT) && !device->use_llvm,
|
||||
.KHR_push_descriptor = true,
|
||||
.KHR_ray_query =
|
||||
(device->instance->perftest_flags & RADV_PERFTEST_RT) && !device->use_llvm,
|
||||
.KHR_ray_tracing_pipeline =
|
||||
(device->instance->perftest_flags & RADV_PERFTEST_RT) && !device->use_llvm,
|
||||
.KHR_relaxed_block_layout = true,
|
||||
|
|
@ -1639,6 +1641,12 @@ radv_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice,
|
|||
features->primitiveTopologyPatchListRestart = false;
|
||||
break;
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_QUERY_FEATURES_KHR: {
|
||||
VkPhysicalDeviceRayQueryFeaturesKHR *features =
|
||||
(VkPhysicalDeviceRayQueryFeaturesKHR *)ext;
|
||||
features->rayQuery = true;
|
||||
break;
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_FEATURES_KHR: {
|
||||
VkPhysicalDeviceRayTracingPipelineFeaturesKHR *features =
|
||||
(VkPhysicalDeviceRayTracingPipelineFeaturesKHR *)ext;
|
||||
|
|
|
|||
|
|
@ -594,6 +594,7 @@ radv_shader_compile_to_nir(struct radv_device *device, struct vk_shader_module *
|
|||
.multiview = true,
|
||||
.physical_storage_buffer_address = true,
|
||||
.post_depth_coverage = true,
|
||||
.ray_query = true,
|
||||
.ray_tracing = true,
|
||||
.runtime_descriptor_array = true,
|
||||
.shader_clock = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue