mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 01:40:08 +01:00
radv: Enable raytracing extensions on older generations
We have shader-based bvh traversal for this on older generations now. Signed-off-by: Joshua Ashton <joshua@froggi.es> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12974>
This commit is contained in:
parent
548382de42
commit
26826a7d60
1 changed files with 3 additions and 6 deletions
|
|
@ -406,8 +406,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
|
|||
*ext = (struct vk_device_extension_table){
|
||||
.KHR_8bit_storage = true,
|
||||
.KHR_16bit_storage = true,
|
||||
.KHR_acceleration_structure = (device->instance->perftest_flags & RADV_PERFTEST_RT) &&
|
||||
device->rad_info.chip_class >= GFX10_3,
|
||||
.KHR_acceleration_structure = !!(device->instance->perftest_flags & RADV_PERFTEST_RT),
|
||||
.KHR_bind_memory2 = true,
|
||||
.KHR_buffer_device_address = true,
|
||||
.KHR_copy_commands2 = true,
|
||||
|
|
@ -437,11 +436,9 @@ 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_pipeline_library = (device->instance->perftest_flags & RADV_PERFTEST_RT) && !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_ray_tracing_pipeline = (device->instance->perftest_flags & RADV_PERFTEST_RT) && !device->use_llvm,
|
||||
.KHR_relaxed_block_layout = true,
|
||||
.KHR_sampler_mirror_clamp_to_edge = true,
|
||||
.KHR_sampler_ycbcr_conversion = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue