radv: Experimentally enable RT extensions.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12592>
This commit is contained in:
Bas Nieuwenhuizen 2021-03-14 00:44:06 +01:00 committed by Marge Bot
parent ca2d96db51
commit f1095260a4
3 changed files with 6 additions and 0 deletions

View file

@ -14,3 +14,4 @@ OpenGL FP16 support on llvmpipe
VK_KHR_shader_float16_int8 on lavapipe VK_KHR_shader_float16_int8 on lavapipe
VK_KHR_shader_subgroup_extended_types on lavapipe VK_KHR_shader_subgroup_extended_types on lavapipe
VK_KHR_spirv_1_4 on lavapipe VK_KHR_spirv_1_4 on lavapipe
Experimental raytracing support on RADV

View file

@ -427,7 +427,11 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
.KHR_maintenance3 = true, .KHR_maintenance3 = true,
.KHR_multiview = true, .KHR_multiview = true,
.KHR_pipeline_executable_properties = true, .KHR_pipeline_executable_properties = true,
.KHR_pipeline_library = (device->instance->perftest_flags & RADV_PERFTEST_RT) &&
device->rad_info.chip_class >= GFX10_3 && !device->use_llvm,
.KHR_push_descriptor = true, .KHR_push_descriptor = true,
.KHR_ray_tracing_pipeline = (device->instance->perftest_flags & RADV_PERFTEST_RT) &&
device->rad_info.chip_class >= GFX10_3 && !device->use_llvm,
.KHR_relaxed_block_layout = true, .KHR_relaxed_block_layout = true,
.KHR_sampler_mirror_clamp_to_edge = true, .KHR_sampler_mirror_clamp_to_edge = true,
.KHR_sampler_ycbcr_conversion = true, .KHR_sampler_ycbcr_conversion = true,

View file

@ -488,6 +488,7 @@ radv_shader_compile_to_nir(struct radv_device *device, struct vk_shader_module *
.multiview = true, .multiview = true,
.physical_storage_buffer_address = true, .physical_storage_buffer_address = true,
.post_depth_coverage = true, .post_depth_coverage = true,
.ray_tracing = true,
.runtime_descriptor_array = true, .runtime_descriptor_array = true,
.shader_clock = true, .shader_clock = true,
.shader_viewport_index_layer = true, .shader_viewport_index_layer = true,