Unverified Commit fa21e57b authored by Joshua Ashton's avatar Joshua Ashton 🐸
Browse files

RADV VEGA RT: Expose KHR_acceleration_structure on older generations

parent 281b21b1
......@@ -383,8 +383,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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment