diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 075dcea0712..5a719bb1005 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -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,