diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index c25d6010e05..d7ed2865292 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -14,3 +14,4 @@ OpenGL FP16 support on llvmpipe VK_KHR_shader_float16_int8 on lavapipe VK_KHR_shader_subgroup_extended_types on lavapipe VK_KHR_spirv_1_4 on lavapipe +Experimental raytracing support on RADV diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 6d84af9498b..83768929c38 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -427,7 +427,11 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device .KHR_maintenance3 = true, .KHR_multiview = 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_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_sampler_mirror_clamp_to_edge = true, .KHR_sampler_ycbcr_conversion = true, diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 37d3b3be5b2..03a3ff7ee20 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -488,6 +488,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_tracing = true, .runtime_descriptor_array = true, .shader_clock = true, .shader_viewport_index_layer = true,